Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
granola
Newbie


Joined: 17 Dec 2001
Posts: 4

PostPosted: 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.
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net