|
astrotaz Beginner
Joined: 09 Aug 2011 Posts: 12
|
Posted: Wed Mar 06, 2013 3:43 pm
trigger matching |
I have 2 triggers
with trigger texts
PLAYER
and
PLAYERH
When I find PLAYERH I set a variable #var friend 1
When I find PLAYER I set a variable #var player 1
The problem is .. when PLAYERH is found, player is set to 1 because PLAYER is within the string PLAYERH
How can I refine this ?
What I'm trying to achieve ---
If my friend is in the room with me .. I want to attack a mob, yet If I find any other player in the room .. I wish to move on . |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Mar 06, 2013 5:28 pm |
Use %q to match on word boundaries.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|