I was looking at a way to retrieve the timestamp using Lua. You can obviously do it with the time() function in the os table, but since this is set to nil by default in the Lua sandbox, I was looking for another way. I looked through the world functions and searched the forums, but couldn't seen to find anything. At the moment the way I have solved this problem is to use the following functions:
world.GetLineInfo(world.GetLinesInBufferCount(),9)
this works fine for my purposes, but is there an easier way I've overlooked? Thanks -Tsunami
world.GetLineInfo(world.GetLinesInBufferCount(),9)
this works fine for my purposes, but is there an easier way I've overlooked? Thanks -Tsunami