|
granola Newbie
Joined: 17 Dec 2001 Posts: 4
|
Posted: Wed Jan 02, 2002 4:28 pm
Help killing targets |
Ok im fairly new and dont understand how to set up targets. I want to be able to kill something automatically withought typing its name, or rather the first letter...call me lazy but i think theres a way to set up a trigger to kill sonething quicker. Please Help.
|
|
|
|
Troubadour GURU
Joined: 14 Oct 2000 Posts: 556 Location: USA
|
Posted: Wed Jan 02, 2002 5:49 pm |
Create a string list of potential targets:
#VAR targets {ape|bear|cougar|deer|elf|faerie|gith|harpy|etc}
Then create an alias to expand your single letter:
#ALIAS k {#FORALL @targets {#IF %begins(%i, %1) {kill %i; #ABORT 1} {#NOOP}}}
You may use any number of letters as your abbreviation.
Troubadour |
|
|
|
|
|