|
jroper73 Novice
Joined: 03 Aug 2006 Posts: 30
|
Posted: Wed Jan 24, 2007 10:48 pm
Alias works but with syntax error - need help fixing. |
All my config files are text files I load each time. I have this one alias that works, but when you look at it under zmud, I get this syntax error. I would like to get all my scripts syntax correct before trying to port anything over to cmud. What can I do to fix this.
My Alias
Code: |
#alias {testalias} {#EXEC %expand(:@MyHealer:#var watchtart {1})}
|
The window
Code: |
#EXEC %expand(:@MyHealer:#var watchtart {1})
^ syntax error
|
|
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Wed Jan 24, 2007 10:52 pm |
zMUD would sometimes flag things as errors when they weren't. The above compiles fine in CMUD so you should be fine.
|
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Jan 25, 2007 6:17 pm |
To get rid of the syntax error reported in zMud use %concat, it is the right way to do it anyway.
#EXEC {%concat(":",@MyHealer,":#var watchtart {1}")} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|