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


Joined: 12 Mar 2004
Posts: 14
Location: Sweden

PostPosted: 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?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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}
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