


Based from





LogCapture(this lua) allows you to get log output that logged from






















LogCapture(command[,keep_log])
- Get log output from

Arguments:
command - command to executed(string)
keep_log - keep log output written into file?(anything that equal to true or false)
Returns: Log Output where each line is separated by LF character(string)


1
2
3
4
5
6
2
3
4
5
6
-- Get list of items local lit=LogCapture("items") -- Try to spawn an object but allow information to written to log local more_info=LogCapture("spawnobject 1 -1 -1 0 0 0 0",true) print(more_info)	-- ERROR: spawnobject - position is out of map bounds!


Nah, just like my earlier uploads. Feedbacks, suggestions, bug reports on comments











Approved by Seekay
Download
574 b, 483 Downloads