About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
Robbie04
Beginner


Joined: 18 May 2008
Posts: 13

PostPosted: Sat Feb 05, 2011 11:41 pm   

Missing characters
 
When I ener this value, %m/%M, for a prompt in a MUD..output in main screen is " / " instead of 45/50. Any
ideas?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Feb 05, 2011 11:50 pm   
 
It's because % is a special character in Cmud. You need to use the quote character, ~, in order to tell Cmud to send special characters to the mud instead of trying to interpret them. Enter this:
Code:
~%m/~%M
Reply with quote
Robbie04
Beginner


Joined: 18 May 2008
Posts: 13

PostPosted: Sat Feb 05, 2011 11:53 pm   
 
Nope...I enter %t/%T %m/%m %h/%H and get 34/45 / 45/60.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sun Feb 06, 2011 3:15 am   
 
But did you try putting the ~ in like I suggested?
Reply with quote
Robbie04
Beginner


Joined: 18 May 2008
Posts: 13

PostPosted: Sun Feb 06, 2011 4:56 am   
 
Yes Rahab. This is what I entered prompt %t/%T ~%m/~%M %h/%H and this is what I got 45/50 / 34/40.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sun Feb 06, 2011 5:10 am   
 
Turn off parsing for the command line when doing your prompt, it's the little computer icon to the right of the command line.
_________________
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 Feb 06, 2011 3:52 pm   
 
don't need to turn off the prompt. #SENDRAW will send exactly what you typed, with no worries about anything getting parsed. Thus, if something goes wrong with your prompt it's obviously something that the game is doing.

The shortcut for #SENDRAW is ` at the beginning of the line.
_________________
EDIT: I didn't like my old signature
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