*Bob* tells the group 'jump'
I use ^(.*) tells the group 'jump'
but if someone else in group says the same thing it triggers off, i want to include * between names due to being leaders, groupies doesnt have * in between.
I am not sure about using this knowing it wont work like ^/*/(.*)/*/ tells the group 'jump'
correct me the fix as soon as possible. Thanks
Remind me about this trigger...
Re: Remind me about this trigger...
I mean, your slashes are all off... but the basic idea should work fine. The pattern should be this: ^\*(.*)\* tells the group 'jump'
Alternately, since you are capturing the name of the person sending the tell, you could check in the trigger with the current pattern, to see if you find an * in the name, like this: string.find(matches[2],"*") -- which returns nil if it isn't found, and the location if it is found, so you can use this in an if statement directly.
Alternately, since you are capturing the name of the person sending the tell, you could check in the trigger with the current pattern, to see if you find an * in the name, like this: string.find(matches[2],"*") -- which returns nil if it isn't found, and the location if it is found, so you can use this in an if statement directly.
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Remind me about this trigger...
That worked, thanks!