|
Murdlih Beginner
Joined: 17 Dec 2001 Posts: 24 Location: USA
|
Posted: 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. |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Mar 14, 2002 12:32 pm |
Try this:
#VAR people ""
#TRIGGER {(%w) enters.} {#IF (!%ismember(%1, @people)) {finger %1;#ADDITEM people %1}}
Kjata |
|
|
|
|
|
|
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
|
|