|
Curtis Novice
Joined: 25 Nov 2002 Posts: 39 Location: USA
|
Posted: Sun Nov 16, 2003 1:59 pm
MXP Trigger |
I have not used mxp triggers before and have read the help files and searched the forum but cant seem to get this trigger to work. Im not sure if using an mxp trigger is even the best solution for this problem. This is what Im attempting to do. I have made a trigger that colors everyone on my enemies list in darkred. Now I would like to touch everyone on my enemies list who is in the same location as I am. The problem is how the names are listed when I look in the location.
Furious Albert Contrides is here.
You see in your mind's eye, Jacob shrouded in a cloak of invisibility.
Apprentice Mage David is here.
ect.
ect.
Instead of creating every possible combinations of names I thought using an mxptrigger would work best. I could toggle the trigger on and off when I enter the Look command. If any word was colored in darkred I would than touch that person.
#mxptrig {color darkred} {touch %0}
Is this the best way to go about this?
How do you write this trigger? |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Tue Nov 18, 2003 11:46 am |
Your thinking to hard.
quote: I have made a trigger that colors everyone on my enemies list in darkred
#TR {({@enemylist})} {touch %1}
should do the trick
there are otherways so if you dont get this one try try again |
|
|
|
|
|