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


Joined: 21 Jun 2004
Posts: 1
Location: Norway

PostPosted: Mon Jun 21, 2004 5:50 pm   

Coders please look this way for a moment :)
 
I'm a total newbie when it comes to making anything but simple aliases and triggers, so I ask humbly for any assistance anyone can give me, to help me with my problem.

I want zmud to send the command "dheal" if my HP is less than my maxhp, but with a delay of 5 secs/ticks, so it dosen't spam to much.
my hp in this case is "57500L" as shown under in the full prompt.

my prompt looks like this ::: [57500L 41000M 59000V] :::

Any serious respons is higly appreciated Smile
Reply with quote
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Mon Jun 21, 2004 6:40 pm   
 
Trigger on your prompt, have the trigger create a 5 second alarm that sends the command dheal. Name this alarm something such as AlarmHeal.

Now go back to your prompt trigger and modify it to only create this alarm if the alarm does not already exist.

I can't help you with the code needed right now cause I don't have zmud on this computer.
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