|
Talahaski Enchanter
Joined: 10 Oct 2000 Posts: 656 Location: USA
|
Posted: 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 |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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.
|
|
|
|
|
|