![](templates/Classic/images/spacer.gif) |
atraeyu Novice
Joined: 29 Dec 2006 Posts: 41 Location: Chester, VT
|
Posted: Mon Jan 01, 2007 6:50 pm
Time Support in cMUD |
I'd like my alias to set the current time that it was last executed.
I.E:
#ALIAS heal_fire_pub
{
#var heal_fire_time CURRENT_TIME
.FIREPUB_TO_PATH
buy beer
drink beer
.FIREPUB_BACK_PATH
}
How do I get the current time?
Also, can anyone give me an example of working with the time?
Thanks again! :) |
|
|
![](templates/Classic/images/spacer.gif) |
nexela Wizard
![](images/avatars/3549517644153b10a6a2fb.jpg)
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Mon Jan 01, 2007 7:07 pm |
#HELP %time()
#SAY %time(mmddyyyy)
#SAY %time(mmmddyy)
etc etc etc
#SAY %time(mm-yy) |
|
|
![](templates/Classic/images/spacer.gif) |
atraeyu Novice
Joined: 29 Dec 2006 Posts: 41 Location: Chester, VT
|
Posted: Mon Jan 01, 2007 7:10 pm |
Awesome, perfect, thank you! :)
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|