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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Brujah
Wanderer


Joined: 13 Nov 2002
Posts: 88
Location: USA

PostPosted: Wed Nov 13, 2002 3:22 pm   

Delayed triggers?
 
It would seem to me that Zmud would have this available. However, for some reason ive never been able to figure it out. Ive been about to do it using the tick timer in the past, but changed to a Linux system some time back and recently chaged back. thus i have forgotten much of what i learned for the Guru's. Is there a way to do it without using the tick timer? Can someone please tell me how?
thanks

<_,-'
Reply with quote
Sir Runsalot
Beginner


Joined: 18 May 2002
Posts: 20

PostPosted: Wed Nov 13, 2002 3:25 pm   
 
As far as I know, you can't delay the triggers themselves on a general basis, but you could use the #wait command.
For example.

#WA 2000;kill bear

would wait 2 seconds then send kill bear to the MUD.
Reply with quote
Brujah
Wanderer


Joined: 13 Nov 2002
Posts: 88
Location: USA

PostPosted: Wed Nov 13, 2002 4:14 pm   
 
I know for a fact that i used to have delayed triggers using the tick timer activation and deactivation. But thanks for trying to be helpful *grin*

<_,-'
Reply with quote
Lalaynya
Wanderer


Joined: 23 Aug 2002
Posts: 96

PostPosted: Wed Nov 13, 2002 4:16 pm   
 
The best way to do this would be to use the trigger to set up an alarm for however long you want it to wait. Check the #ALARM command in the help file.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Nov 13, 2002 4:54 pm   
 
Usually, you'll want to use a one-time alarm as the action part of the trigger to have a delayed response.

#TR {delay} {#ALA +5 {yell LAG!}}

LightBulb
Senior Member
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Nov 13, 2002 10:59 pm   
 
quote:

As far as I know, you can't delay the triggers themselves on a general basis, but you could use the #wait command.
For example.

#WA 2000;kill bear

would wait 2 seconds then send kill bear to the MUD.



Definitely do NOT use #WAIT in a trigger. #WAIT will completely lock down the parsers, the screen display, and basically all of ZMud for that duration--after which everything that came through will get thrown up to the screen and processed normally (or perhaps missed if you have a lot of data getting dumped all at once).

li'l shmoe of Dragon's Gate MUD
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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