Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
slicertool
Magician


Joined: 09 Oct 2003
Posts: 459
Location: USA

PostPosted: Sat Sep 23, 2006 4:42 am   

[1.07] Named Alarms
 
For whatever reason, it won't let me name my alarms, but only when I have them do something.

This works: #alarm snooze +60:00

This doesn't: #alarm alarm3 +45:00 {#say {unidle!}}

The second one instead sends the 'alarm3' to the mud. This is the exact same setup as in zMud.
_________________
Ichthus on SWmud: http://www.swmud.org/
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Sat Sep 23, 2006 4:50 am   
 
Try putting {} around the alarm pattern:

#alarm alarm3 {+45:00} {#say {unidle!}}

and see if that works. The detection of the optional ID field in CMUD is a bit strict compared to zMUD. The parser is checking for the { to determine if the first argument is an ID or a pattern.
Reply with quote
slicertool
Magician


Joined: 09 Oct 2003
Posts: 459
Location: USA

PostPosted: Sat Sep 23, 2006 5:54 am   
 
Worked perfect. Thanks, Zugg.
_________________
Ichthus on SWmud: http://www.swmud.org/
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net