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
steamtank
Newbie


Joined: 29 Dec 2002
Posts: 3

PostPosted: Wed Jan 29, 2003 8:54 pm   

Help with Untab
 
I am looking to make a set of triggers that grab all of the names of people in my PK range and add them to the tab completion. Ok i got the first trigger

#trigger {~(PK~) (%w)} {#TA {%1 %null}}

This one will add anybody's name that has a (PK) into the tab completion. Now what i want to do now is have a command that will un-tab all of those names.(I really don't need 50 names in there at once, usually only 10-20 are in my range at once.) I guess there will have to be a class set up so that i can do this(don't really know how to set up a class). I only want it to get rid of the names and not all the other tab completion words i have in there.

Hopefully this makes sense.

Thanks,

James
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jan 29, 2003 11:00 pm   
 
All you have to do is put them in the class as you go.
#trigger {~(PK~) (%w)} {#CLASS PkTargets;#TA {%1 %null};#CLASS 0}
or
#trigger {~(PK~) (%w)} {#TA {%1 %null} {PkTargets}}

Then when you want to get rid of all of them just delete the class manually or with the #DELCLASS command.
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