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


Joined: 26 Oct 2000
Posts: 62

PostPosted: Mon Jun 09, 2003 9:54 pm   

Question
 
I want to trigger the prompt on Achaea - but it's kind of tricky because I want it to fire when I see the prompt, but I don't want to have to hit enter for the zMUD to recognize the prompt and THEN fire the trigger. For example, if I'm sitting there not typing anything, and I regenerate some hitpoints, the prompt isn't re-drawn, so the trigger doesn't fire. I would have to hit enter for zMUD to recognize the prompt trigger, then do what I want it to do. Anyway to fix this?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jun 10, 2003 12:13 am   
 
quote:

I want to trigger the prompt on Achaea - but it's kind of tricky because I want it to fire when I see the prompt, but I don't want to have to hit enter for the zMUD to recognize the prompt and THEN fire the trigger. For example, if I'm sitting there not typing anything, and I regenerate some hitpoints, the prompt isn't re-drawn, so the trigger doesn't fire. I would have to hit enter for zMUD to recognize the prompt trigger, then do what I want it to do. Anyway to fix this?



If there's no text generated for regeneration messages (ie, you feel a bit more rested), then the only thing you can do is this:

#Alarm *duration {#cr}

where duration is some numeric value of your choosing.

If there is some special text generated, then you can trigger on that and either issue the #cr (to get the prompt) or pull the number straight from that line of text and apply it to your hp variable.

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