|
Yoggin Beginner
Joined: 12 Mar 2004 Posts: 14 Location: Sweden
|
Posted: Fri Apr 30, 2004 10:01 am
Lists |
I have a minor problem I dont find any solution too. I want a list to be shown when I enter a certain alias for example.
My list name is @Blacklist and I want it to echo out on screen when I write blacklist. But dont find any command for showing list.
And another one. I know #add will add people to the list, but is there a command to remove ppl from the list? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Apr 30, 2004 10:46 am |
#ADD is intended for performing simple arithmetic (addition and subtraction) to numeric variables. It can also be (mis)used to add strings to the end of string variables.
#ADDITEM is for adding items to lists.
#DELITEM is for deleting items from lists.
There are many ways of displaying lists. Some of them are
#VARIABLE Blacklist
#ECHO @Blacklist
#SAY %expandlist( @Blacklist, ", ")
#FORALL @Blacklist {#SHOW %i} |
|
|
|
|
|