|
Dionysia Newbie
Joined: 24 Jun 2006 Posts: 3 Location: East Coast
|
Posted: Sat Jun 24, 2006 1:51 am
Need help with triggers |
Hi, I am new to muds, and am trying to set up some triggers. I play Nilgiri.
First, I have 2 alts, and want to make a trigger for them to automatically aid me, but once they aid me, the trigger needs to stop going off. I made a trigger for when I attack, and ever attack I make during a single fight, the alts trig goes off to aid, which results in spamming that I am already aiding in the fight. How do I set the trig to stop once it goes off, but then be active once the fight is over? |
|
|
|
edb6377 Magician
Joined: 29 Nov 2005 Posts: 482
|
Posted: Sat Jun 24, 2006 3:21 am |
find a unique string to trigger off of that only happens when you initiate a fight and when you end a fight.
i.e.
You enter into combat with the spider
You take 5 gold coins from the corpse of the spider. |
|
_________________ Confucious say "Bugs in Programs need Hammer" |
|
|
|
Dionysia Newbie
Joined: 24 Jun 2006 Posts: 3 Location: East Coast
|
Posted: Sat Jun 24, 2006 8:32 pm |
This particular mud doesn't have anything unique about begining combat, slashes, misses, etc, but that can happen through out the entire battle.
|
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Sun Jun 25, 2006 3:16 pm |
is the aid based on something?
or do you want it automatically as in as soon as you enter the kill command? Saw a similar command on here long ago:
#alias {kill} {~kill %1;:ALT_WINDOW_NAME:AID_COMMAND} |
|
|
|
Dionysia Newbie
Joined: 24 Jun 2006 Posts: 3 Location: East Coast
|
Posted: Mon Jun 26, 2006 5:01 pm |
I figured it out!
Had to make a class for the aid triggers, there are several different triggers, and then after it says I am aiding, I created a trigger to disable the aid class, and once fight is over trigger to turn aid class back on just took a lot of trial and error |
|
|
|
|
|