Page 1 of 1

Time Stamp

Posted: Tue Nov 03, 2009 2:51 pm
by S3v3n11
I have the bot print different things to the console and would like to tag the entries with the date/time.

Anyone have example code for this?

Thanks!

Re: Time Stamp

Posted: Tue Nov 03, 2009 3:20 pm
by d003232
S3v3n11 wrote:I have the bot print different things to the console and would like to tag the entries with the date/time.

Anyone have example code for this?

Thanks!
It's used in player:sleep.

Or try

Code: Select all

printf( os.date().." text" );  

Re: Time Stamp

Posted: Tue Nov 03, 2009 4:09 pm
by S3v3n11
Thank you!