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


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Sun Dec 01, 2002 5:37 am   

trigger off of beep, trigger to adjust timer
 
I'd like to set up 2 kinds of triggers

1) If you get a beep from zmud, I'd like to setup a trigger to respond to the beep. Not a "tell beep" (i.e. btell) but the game will beep. I'd like to respond to the beep with a trigger.

2) I'd like to set up a trigger to adjust the timer. Right now, I have a spell set to a 10-tick timer. I'd like to go until I get the message "you do not have enough mana", then I'd like to reset the timer to 30-ticks. Once I get to full mana, I'd like to reset it to 10 again. :)

Any way to do that?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Dec 01, 2002 7:25 am   
 
quote:

I'd like to set up 2 kinds of triggers

1) If you get a beep from zmud, I'd like to setup a trigger to respond to the beep. Not a "tell beep" (i.e. btell) but the game will beep. I'd like to respond to the beep with a trigger.

2) I'd like to set up a trigger to adjust the timer. Right now, I have a spell set to a 10-tick timer. I'd like to go until I get the message "you do not have enough mana", then I'd like to reset the timer to 30-ticks. Once I get to full mana, I'd like to reset it to 10 again. :)

Any way to do that?



1)You can only trigger off of text, not sound.

2)create an alarm with the pattern of *@interval. In the trigger for "you do not have enough mana", set this variable to 30 and in the prompt trigger or whatever message you get for full health set it back to 10.

li'l shmoe of Dragon's Gate MUD
Reply with quote
obor
Wanderer


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Sun Dec 01, 2002 7:46 am   
 
1) *snaps fingers* drat!
2) eh? no comprende usted
Reply with quote
itsmarty
Novice


Joined: 29 Jan 2002
Posts: 37
Location: USA

PostPosted: Sun Dec 01, 2002 6:54 pm   
 
2) eh? no comprende usted

He's suggesting you change the interval between casts from a constant (10 seconds) to a variable (x seconds). Then you can set triggers to change that variable from 10 to 30 and back.

Martin
http://mywebpages.comcast.net/itsmarty/
Reply with quote
obor
Wanderer


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Mon Dec 02, 2002 12:32 am   
 
right. that part i understood

i just have no clue how to do that

*sheepish aura*
Reply with quote
itsmarty
Novice


Joined: 29 Jan 2002
Posts: 37
Location: USA

PostPosted: Mon Dec 02, 2002 1:43 am   
 
Post how you're doing it now, maybe we can help you change it.

Martin
http://mywebpages.comcast.net/itsmarty/
Reply with quote
obor
Wanderer


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Wed Dec 04, 2002 5:14 am   
 
i just use the timer.

y'know, <Actions> - <tick timer>
Reply with quote
obor
Wanderer


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Fri Dec 06, 2002 5:57 am   
 
anyone have an idea?

i don't need specifics, I just need to know what the command is to turn on and off the tick timer

"#tm 0" or whatever

also, how do you turn on and turn off a specific class of triggers? wehat is the command for that?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Dec 06, 2002 7:43 am   
 
toggle timer - #TIMER
timer on - #TIMER 1
timer off - #TIMER 0
class on - #T+ class
class off - #T- class

LightBulb
Senior Member
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