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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum Goto page Previous  1, 2
Zugg Posted: Thu Apr 13, 2006 2:09 am
Changes to %1..%99 parameter variables
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1241

PostPosted: Tue Apr 18, 2006 3:43 pm   
 
Oh yes, there still is a problem when my prompt starts with a ). But this isn't fixed with {"%literal(%1)">}. My prompt can also contain [], and these disappear when the prompt begins with a ). My workaround for this was not use the value of my prompt variable for my prompt substition and to use %line instead.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23377
Location: Colorado, USA

PostPosted: Tue Apr 18, 2006 7:22 pm   
 
CMUD should really help with this. With the changes to how %1..%99 are expanded more like normal variables, you won't have to worry nearly as much about special characters screwing stuff up.

#VAR Prompt {%1">"}

is all that you'll need in CMUD no matter what special characters are stored in %1.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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