Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Wed Apr 16, 2008 12:58 am   

Additem(%parm, ) not working
 
I have an alias called QC with the following script

@MagicWork/QueuedCommands/QcList=%additem("%params", @MagicWork/QueuedCommands/QcList)

For some reason this will not work when you pass in multiple parameters like QC kill orc

I have also tried without the " and it still does not work. Can anybody help me with this one please?


Nevermind, was stupid mistake.

This works without the @ in the front
MagicWork/QueuedCommands/QcList=%additem("%params", @MagicWork/QueuedCommands/QcList)
_________________
Talahaski


dartmud.com 2525
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Apr 16, 2008 2:20 am   
 
However, you'll probably find that your QcList will contain lots of entries that're the literal string "%params" rather than the parameters you passed. If you want the parameters you passed, you'll need to remove the quotes.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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