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
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: Sun Feb 24, 2002 2:29 am   

quick question
 
Well, I'm trying to create an entry on the speed menu. I want to add and remove names from a variable called @friends. I am using:

#additem @friends %selword

But, it is expanding "@friends" before it does the additem.. anyone got any ideas?
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: Sun Feb 24, 2002 2:55 am   
 
quote:

Well, I'm trying to create an entry on the speed menu. I want to add and remove names from a variable called @friends. I am using:

#additem @friends %selword

But, it is expanding "@friends" before it does the additem.. anyone got any ideas?





Try #additem friends %selword

#additem accepts the name of a list as its first argument. As you saw, zMUD expands @friends. So we just give it the name of the list.


 - Charbal
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