Difference between revisions of "MUDL:time now"

From WikiName
Jump to: navigation, search
(Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | time_now |- ! Settable | No |- ! Returns | Integer |} {|class="...")
 
(No difference)

Latest revision as of 22:49, 19 November 2018


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)