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


Joined: 02 Mar 2002
Posts: 7

PostPosted: Wed Dec 25, 2002 4:04 am   

Need help with trigger.... Badly..
 
Okay.. This may sound a bit small but.. I cant seem to get it to work.
I am trying to make a script that will get me to do the following:
1.Preform first aid on self.
If not hurt, enter. go west attack the shop keeper and wait 10 seconds... go east and south. then first aid again.
If preformed correctly, keep doing to not hurt.
If im too drugged up... Keep doing it.
If my medkit runs out, ep;es;10;first(aliases)

The mud does have a time thingy between commands, so i cant just spam things.
Heres what i have...
The trigger comes first, then the value.

You preform first aid on Athan.
#WAIT 2000
First

You try but fail to preform first aid on Athan.
#WAIT 2000
First

Athan is already too drugged up for that.
#WAIT 2000
First

Why are you trying to heal someone who doesn't need healing?
enter
w
k keeper
#WAIT 10000
e
s
#WAIT 2000
first

This medkit is empty, so you dispose of it.
ep
es
10 (Aliases for: 'exit program
first 'Enter sim
First athan


Now, when i do this.. i end up getting all the commands spammed in little groups of 3 firsts, so then when i try to ep, es, etc. i just get told to wait by the mud because of the time limit 'tween commands.

Any help will be appreciated. Thanks in advance.

-~~~===|!!MINSK!!|===~~~-
Beuty,
Is in the eye,
Of the Beholder.

You,
Are in the stomach,
Of the Beholder.
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