|
Kurt_DH Wanderer
Joined: 26 Oct 2000 Posts: 62
|
Posted: 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?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
|
|
|
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
|
|