Get into the habit of saving using the SAVE command when you have gotten your gear back from your corpse after dying. This is in case the MUD crashes and reverts you to a saved version of your pfile when you had no gear. - Riviat
Posts: 27 Location: New Brunswick, Canada Joined: 26.05.08
Posted on Jun 10 2008 06:02
Hi,
I am working on doing a script to make my healer a buffer in sanctum when i'm semi-afk from keyboard. I use Zmud
I am having a problem trying to get the system to recognize how much mana I have, because I want to be able to let people know when i do not have enough mana to spell them up. I can't get the trigger to work for that.
Posts: 2 Location: Southern California Joined: 21.08.07
Posted on Jun 11 2008 21:03
Whats your prompt? Can just trigger to it for example
^~{%n/%n &%dCurrentMana/%n %n/%n~}
if your base prompt was {33/34 44/45 55/65} for health, mana and moves this would store your current mana in a variable named CurrentMana.
Edited by Addrarraent on Jun 11 2008 21:04
Posts: 2 Location: Southern California Joined: 21.08.07
Posted on Jun 11 2008 21:12
Nothing wrong with that as far as I know, a while back I started capturing my whole prompt and then gagging it, haven't noticed any delay or slow down.
in zmud you can also turn triggers on and off with other triggers (lol i can't think of the command right now, but you set the class for the trigger in the 3rd {}, and then turn off the class/folder
Your other option if you don't want to capture your prompt every time it displays is to have a trigger check your mana via the group list on request. You only get one update each time that way, and you can use your if statement after the check.
Wiseman
-----------
English does not borrow from other languages. English follows other languages into dark alleys, raps them over the head with a cudgel, then goes through their pockets for loose vocabulary and spare grammar.
-Mama_Willowe