|
Brioche Newbie
Joined: 01 Dec 2011 Posts: 5
|
Posted: 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......
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
Brioche Newbie
Joined: 01 Dec 2011 Posts: 5
|
Posted: 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?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
|
|