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
jroper73
Novice


Joined: 03 Aug 2006
Posts: 30

PostPosted: 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
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: 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... ;)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
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