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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
treimor
Newbie


Joined: 14 Feb 2008
Posts: 9

PostPosted: Fri Jan 27, 2012 5:36 pm   

Having an issue with #alarm
 
So I am using an alarm to maintain a bot that i use. Every time I trigger something, I refresh the alarm time (the intro command creates the alarm). Here is the code I am using within the alias:

Code:

#ALARM "unstick" {+00:01:30} {w;d;w}


And then in every trigger i use this:

Code:

#CALL %alarm(unstick,90000)


And they do not fire.

So I tried turning on trigger debugging, and doing the test alarm code from the command line:

Code:

#ALARM {+3} {#echo test}


and this is the output i get:

Code:

[+3-> #echo test]


and yet the echo does not fire. Am I missing a setting, or what am I doing wrong?

Thanks in advance.
Reply with quote
treimor
Newbie


Joined: 14 Feb 2008
Posts: 9

PostPosted: Fri Jan 27, 2012 5:51 pm   
 
Allow me to clarify as well. When I do the #CALL %alarm(unstick,90000) it does affect the alarm and reset it back to 90 seconds. So the problem appears to be that the alarm fires, but does not actually execute the commands within the alarm.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Fri Jan 27, 2012 5:53 pm   
 
Your first syntax is wrong - the pattern should be +90, not +00:01:30.
Reply with quote
treimor
Newbie


Joined: 14 Feb 2008
Posts: 9

PostPosted: Fri Jan 27, 2012 5:56 pm   
 
Well it appears i'm just lazy. I didn't realize i was running 3.33a on this machine......upgraded to 3.34 and the alarms fire now.

Sigh.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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