|
Edwub Wanderer
Joined: 21 Nov 2002 Posts: 85 Location: USA
|
Posted: Mon Dec 23, 2002 11:36 am
Gag with replacements |
Hi ZMUD users!
I am trying to gag two lines, and replace them with something else.
The text i see is:
| 925H 520M 1006V >
Your belt is healing you.
Your cap is healing you.
every pulse or so.
I want to gag both of those healing lines and replace it so that if BOTH of them happen, it says (prolly using #say) Both belt and cap heal you. (while the actual two lines are gagged)
Is this possible with zmud 6.16?
heck, even possible at all with any version!
Edwub the Mage |
|
|
|
Edwub Wanderer
Joined: 21 Nov 2002 Posts: 85 Location: USA
|
Posted: Mon Dec 23, 2002 11:42 am |
#trigger {Your cap is healing you.} {#var capheal = 1; #gag}
#trigger {Your belt is healing you.} {#var beltheal = 1; #gag}
#trigger {Your cap is healing you.} {#if (@beltheal = 1) and #if (@capheal = 1) #say Both belt and cap heal you!; #var beltheal = 0; #var capheal = 0}
Would something like that work, make sense?
I know if its gagged I don't see it on screen, but zmud must see it if its gagged, so couldnt a trigger work off of it?
Its 2:30 am and I was never too much good with stuff like this but what i just posted is my brainstorm.
Please toss me advice or help if you can.
Thanks,
Edwub the Mage |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Dec 23, 2002 11:47 am |
Try:
#TRIGGER {Your belt is healing you.$Your cap is healing you.} {#GAG -2;#SH Both belt and cap heal you.}
Kjata |
|
|
|
Edwub Wanderer
Joined: 21 Nov 2002 Posts: 85 Location: USA
|
Posted: Mon Dec 23, 2002 12:15 pm |
It works like a charm!
Thank you very much =)
Edwub the Mage |
|
|
|
|
|