Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Curtis
Novice


Joined: 25 Nov 2002
Posts: 39
Location: USA

PostPosted: 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?
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net