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
Brioche
Newbie


Joined: 01 Dec 2011
Posts: 5

PostPosted: Fri Dec 09, 2011 11:10 pm   

using parentheses
 
I'm trying to write aliases/variables that will send text enclosed in parentheses to the MUD. The problem is that CMUD recognizes () as values, and thus removes them from the text. e.g. I want to send "(Flashy)" but get "Flashy" Is there a way to work around this? If I just type (Flashy) into the command line it will be sent as is......
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4715
Location: Pensacola, FL, USA

PostPosted: Fri Dec 09, 2011 11:27 pm   
 
you need to quote them out with a tilde '~'
or encapsulate the command you want to send in a #SENDRAW command
_________________
Discord: Shalimarwildcat
Reply with quote
Brioche
Newbie


Joined: 01 Dec 2011
Posts: 5

PostPosted: Fri Dec 09, 2011 11:54 pm   
 
ok, so the parentheses show, but now the '~' or '#SENDRAW' shows up in the command. Is there a way to hide those but still have them function?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4715
Location: Pensacola, FL, USA

PostPosted: Sat Dec 10, 2011 3:33 am   
 
it was an either or type thing, not both

#SENDRAW {say (loudly) hi}
say ~(loudly~) hi
_________________
Discord: Shalimarwildcat
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