 |
Hiryuu Newbie
Joined: 27 Dec 2002 Posts: 9
|
Posted: Sat Dec 28, 2002 8:01 am
Trigger Question |
I have a trigger set to check if whoever I look at has all the eq slots filled or not (borried from some page and modified.) The only problem is that it triggers off: ^<*, ie to catch <primary wield>, but the who list's display for total people is as such:
< Max Number Of Players. Is there anyway to make it so that if there is a space after the <, it wont trigger, but if theres certain letters (~6 different ones) it will?
~Hiryuu |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sat Dec 28, 2002 11:47 am |
#TRIGGER {^<(*)>} {#IF (!%begins("%1", " ")) {this is the line that we want, do what needs to be done}}
Kjata |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Dec 28, 2002 6:13 pm |
Limit it to alphabetic characters using %w, to alphanumeric characters using %a, or to non-white-space using %x.
[b]#TR {^~<%a} {equipment check here}
LightBulb
Senior Member |
|
|
 |
|
|