Change the alias to match on just the variable (thats the @ then the variable name, with expand variables checked) and then regexp (regular expression) checked.
Although, you will try and murder them whenever. And you might might easily get into a nice loop, which wouldnt be good. (It will match on the name, anywhere, in conversation, or if you get an echo about it, or whatever)
You MIGHT be better matching on ^@prey (regexp) which will match whenever the variable is at the beginning of the line. But of course, if you have a leading space or whatever, you wont match (you could account for that though).
What trigger is best for you depends on your situation, and how often you see it, and where, and whats around it. |