Disarming

Posted by Yhtaa on Fri 06 Aug 2004 12:27 PM — 4 posts, 20,435 views.

#0
Hello,
i have a question.
I use different weapons and sometimes mob disarm me.
Can U help me to create a proper trigger.
Normally I wield xxx (www-is the name of weapon)
but when mob disarm me there is text -
Someone DISARMS you and sends your weapon flying!
And ther is no name of weapon. So how to create a trigger?
I use zmud.
Please, help.
Yhtaa
USA #1
If you use zmud, then the place to go to get this answered would be Zmuds webpage and help forum.

This forum is for MushClient.
Greece #2
Well, if you use zmud, go to Start->Programs->Zmud->Uninstall.
USA #3
If you *were* using MUSHclient, the answer would be comparatively simple:

First, you need a variable to keep track of what weapon you were wielding. Easiest way to do that is write an alias for the wield command that stores the name of the weapon at the same time as wielding it, or to write a trigger for the output of the wield command.

If the text were "You wield <weapon>." then you can create a trigger for the text You wield *., choose Send to: Variable, and type 'Weapon' in the variable name box.

Now, when you see the text 'someone DISARMS you', you could have a trigger which would grab the weapon again and wield it again, or whatever you had in mind.

Create another trigger for Someone DISARMS You*, check 'expand variables' and int he Send box, type:

get @weapon
wield @weapon

Now, MUSHClient will keep track of the weapon you wield and whenever you're disarmed, grab the weapon and wield it again automatically.

But if you insist on using Zmud instead of using MUSHclient instead, I'm afraid we can't help you create a trigger. None of us use Zmud, which is why we're here.