|
undergod Wanderer
Joined: 27 Jun 2001 Posts: 82
|
Posted: 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? |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: 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 |
|
|
|
|
|
|
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
|
|