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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
kshoggi
Beginner


Joined: 24 Jan 2012
Posts: 16

PostPosted: Mon Feb 06, 2012 1:19 am   

[Moved]How do I send a semi-colon to the mud?
 
Dunno what the protocol is on bumping old threads, but I also have a question about semi-colon parsing. How can I send a semi-colon to the mud (ie. not have it parsed as a command separator). I tried sending 2 semi-colons in a row, which worked in mushclient. Is there a general escape character? Thanks
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: Mon Feb 06, 2012 3:18 am   
 
The default quote character in CMUD is the tilde. So, to send a semicolon to the MUD, type ~; .
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Feb 06, 2012 3:43 am   
 
if you want to default a single character, precede it with a tilde or whatever your current quote character is. This gets pretty inconvenient if you have a whole lot of special characters to quote, however, so in that case you can use the backtick (`) as the first character on the command line.

In scripts you generally want to avoid multiple commands on one line in favor of the multiline format. It's easier to read, and there's no chance of CMud misinterpreting the line.
_________________
EDIT: I didn't like my old signature
Reply with quote
kshoggi
Beginner


Joined: 24 Jan 2012
Posts: 16

PostPosted: Mon Feb 06, 2012 6:50 am   
 
hogarius wrote:
The default quote character in CMUD is the tilde. So, to send a semicolon to the MUD, type ~; .
oh crap I'm using zmud. didnt notice this was on cmud forum. should i repost or will this get moved? In zmud, backtick and tilde arent working in sending the semi-colon
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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