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
Murdlih
Beginner


Joined: 17 Dec 2001
Posts: 24
Location: USA

PostPosted: Thu Mar 14, 2002 9:47 am   

Help with remembering names (a list?)
 
I seem to remember reading something about this earlier, but can't seem to find it. What I am trying to do is set up a trigger class that I can activate when I am idle such that when "Ashcram enters." I will look at him, and "finger him" (find out his level). I also want to add him to a list so that if "Ashcram enters." again, I won't look at him.

So basically, I just want to be able to add names to a list, then later check and see if the name is in my list.

Thanks in advance,
Me.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Mar 14, 2002 12:32 pm   
 
Try this:
#VAR people ""
#TRIGGER {(%w) enters.} {#IF (!%ismember(%1, @people)) {finger %1;#ADDITEM people %1}}

Kjata
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