using variables

Posted by Archer on Mon 23 Dec 2002 02:00 AM — 2 posts, 11,808 views.

#0
I was wondering how to make two different uses of a variable one is for when someone in my group backstabs that it retrieves their name and then rescues them and was also wondering how I could make one so when a target is poked it retrieves the targets name and attacks. I guess they're both related in I'm not exactly sure how to make it retrieve a name or phrase and store in somewhere to use in triggers. Any help would be much appreciated
Australia Forum Administrator #1
You can make a trigger, like:

* pokes you.

Then the word that matches the wildcard (asterisk) is %1 in the trigger "send" text. You can just set that to %1 and select "send to variable". Then make the trigger name the same as the variable name you want to send it to.

For a more complicated response you could use a script. There are lots of examples of a similar thing to what you describe on this forum. Try searching for "trigger variable" and see what you come up with.