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
Kronas
Wanderer


Joined: 28 Dec 2003
Posts: 62
Location: Australia

PostPosted: Tue Jan 06, 2004 10:27 am   

greeting triggers
 
I have a few greeting triggers ..How do I set up a pause or timer to make the triggers kick in with at least a 4 sec delay?


In others someone has logged in greeted ..how do I make my trigger to pause for 3-4 secs then! reply?
Reply with quote
Drizzt DoUrden
Newbie


Joined: 05 Jan 2004
Posts: 3
Location: USA

PostPosted: Tue Jan 06, 2004 1:42 pm   
 
the trigger should look like this:

#WAIT 4000 (for 4 seconds, measured in milliseconds before continuing)

The rest of your trigger here
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Tue Jan 06, 2004 2:49 pm   
 
quote:
Originally posted by Kronas




Use of #WAIT is discouraged. Use a temp alarm instead. ie. #ALARM +4

Greet triggers were discussed here: http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=13620&SearchTerms=greet
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jan 06, 2004 7:02 pm   
 
To have your trigger pause for 3 to 4 seconds, use a temporary alarm with a random time.
#TR {(%w) has just logged on} {#ALA +%random( 3, 4) {greet %1}}
The first number in %random() is the minimum time (in seconds) the alarm will wait, and the second number is the maximum time it will wait. Change them to provide whatever delay you want.
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