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
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun Jun 27, 2010 2:03 pm   

[3.20] BUG - %switch and %ansi conflict
 
Try:

Code:

#win History %switch(1=2, %ansi( 12), 1=1, %ansi( 10))Test%ansi(reset)


You'll have to highlight the text in the history window, because it's actually black, not green.

Code:

#win History %switch(1=2, %ansi(12), 1=1, %ansi(10))Test%ansi(reset)

The above works just fine. The problem is that auto-formatting will convert this into the first posted script which makes it black. This ONLY seems to occur with %switch and possibly %if.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Jun 27, 2010 3:37 pm   
 
Please update to the 3.21 version and let me know if the problem still occurs.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Jun 27, 2010 4:11 pm   
 
Confirmed. This still exists in 3.21.
_________________
Asati di tempari!
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun Jun 27, 2010 4:29 pm   
 
Tell me how to update to 3.21! It says 3.20 is the current version!
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jun 27, 2010 5:10 pm   
 
Zugg felt rushed and uncertain due to a Drupal conference this weekend. To update, you need to find Zugg's 3.21 post that offers the link to the file and download it.
_________________
EDIT: I didn't like my old signature
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun Jun 27, 2010 5:20 pm   
 
I noticed it shortly after my post. Apologies and thank you.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jun 29, 2010 4:22 pm   
 
Added to bug list. Looks like I need to make the same change to %case and %switch that I did to %if to handle expressions.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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