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
slicertool
Magician


Joined: 09 Oct 2003
Posts: 459
Location: USA

PostPosted: Fri Dec 01, 2006 6:07 pm   

[1.17] quotes get removed
 
If quotes are put at the beginning and end of a command line, regardless of how many are in between, the beginning and end quotes are stripped when the command line is sent to the mud.

ie:

Code:

Command line: 
'rawr'

Output: 
rawr

Command line:
'Hey everyone.  I'm just on to say hi.  hope everyone is doing 'okay'

Output: 
Hey everyone.  I'm just on to say hi.  hope everyone is doing 'okay


Might be a feature, but thought I'd post it since a lot of muds use ' or " as their default say aliases.
_________________
Ichthus on SWmud: http://www.swmud.org/
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Dec 01, 2006 6:26 pm   
 
Hmm, this is only supposed to happen for double quotes " and not for single quotes. Looks like a bug to me, so I added it to the list. But for double-quotes, this would be the expected behavior...double-quotes around the command line cause the contents to be sent to the MUD verbatim with no parsing.

To force a line surrounded by double-quotes to be sent to the MUD *with* the quotes, just start the line with the new ` line-escape character.
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