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
BorisU
Beginner


Joined: 03 Jan 2009
Posts: 21

PostPosted: Thu Jul 14, 2011 7:05 am   

Strange syntax error
 


This trigger worked for some time but now after some minor cosmetic editing I get an error Shocked
Why dg_join parameters turned green?
The most strange thing is that the error disappears if I change dg_join to something else. Either in this script or in the name of alias that should be called as a result of this thigger.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Jul 14, 2011 1:41 pm   
 
You probably changed the spacing inside your #SWITCH. Is that the "cosmetic change" that you made? #SWITCH is somewhat finicky about how it is arranged.
Reply with quote
BorisU
Beginner


Joined: 03 Jan 2009
Posts: 21

PostPosted: Thu Jul 14, 2011 2:33 pm   
 
Probably I changed it as well as removed some debug output. I tried to change the order in which the conditions are checked - the problem persists. CMUD does not like "dg_join" for some reason.
Reply with quote
BorisU
Beginner


Joined: 03 Jan 2009
Posts: 21

PostPosted: Thu Jul 14, 2011 7:01 pm   
 
After some tests I finally found the reason of this strange behaviour. It occurs when the alias dg_join has no flag "Parse arguments". BTW that flag has a wrong tooltip in alias editing dialog.
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