MUDL:time now

From SlothMUD Wiki
Jump to: navigation, search


Summary

Function Name time_now
Settable No
Returns Integer


Parameter Options
No parameters


This function returns an integer timestamp equal to the number of seconds elapsed since midnight on Jan 1, 1970.


Example

setproc <parent> # on_foo
msg_room(%room, 'Time is ' + time_now()),
return(true)