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
Mdprev
Newbie


Joined: 16 Jan 2012
Posts: 7

PostPosted: Mon Jan 16, 2012 4:47 pm   

Unable to suspend #alarm
 
CMUD version 3.34.

I have a toggle button. When I push the button the following script is ran:

#ALARM gp_alarm {*50}
{
#SEND look
}

Comment: So every 50 seconds, the look command is sent to the mud.

Now, when I toggle the button again (to turn it off), the following lines are ran:

#T- gp_alarm
#SUS gp_alarm

Comment: I added both thinking one would do the trick, but shouldn't I only need #sus?

Anyways, the look command keeps getting sent every 50 seconds.
I've clicked the trigger button at the bottom of CMUD, and even deleted the gp_alarm from the listing of triggers.. it keeps going, lol. How do I kill it?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4686
Location: Pensacola, FL, USA

PostPosted: Mon Jan 16, 2012 5:43 pm   
 
are you sure it only made one alarm?
type #ALARM by itself on the command line to see all active alarms
that's not really the best syntax for an alarm anyway

#ALARM "gp_alarm" *50 {#SEND look}
_________________
Discord: Shalimarwildcat
Reply with quote
Mdprev
Newbie


Joined: 16 Jan 2012
Posts: 7

PostPosted: Mon Jan 16, 2012 5:54 pm   
 
Thanks for the reply!
Yea looks like just that one.

Alarms:
- *50 -> #SEND look (disabled)

I wonder why it says disabled but keeps on ticking.

Thanks for the updated syntax! The help file gives this example: #ALARM example {*5} {#ECHO example}
Reply with quote
Mdprev
Newbie


Joined: 16 Jan 2012
Posts: 7

PostPosted: Mon Jan 16, 2012 9:52 pm   
 
I created some new packages and sessions and the problem seems to have fixed itself :)
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