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


Joined: 04 Aug 2011
Posts: 7

PostPosted: Thu Aug 11, 2011 6:56 pm   

Hash command woes
 
Okay so the mud I play uses the (#) Hash command to cancel any commands already piped to the mud..

However, Cmud has the # character blocked, and I have to disable it in the Options > Scripting > Special characters tab.

But when I do that .. all my color triggers are broken, (because they use Hash commands) ..

Any advice on how to get the best of both worlds?
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Aug 11, 2011 7:35 pm   
 
You could use a ` at the start of every line you use the hash on, though if you use it a lot, that could cause convenience problems.

If that's the case, could try something like:

Code:
#ALIAS hash {#SENDRAW {%concat("#", %-1)}}


Then you can do 'hash This is a hash command' and it'll send #This is a hash command. (not tested, merely speculative)
Reply with quote
Oddwin
Newbie


Joined: 04 Aug 2011
Posts: 7

PostPosted: Thu Aug 11, 2011 7:47 pm   
 
Hrmm .. lemmie fiddle with it and see.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Fri Aug 12, 2011 6:55 am   
 
Oddwin,
I'm not sure that I've understand your question right, but you can use "~" quoting symbol. No need to disable "#" symbol in this case.
1) You can type ~# on the command line to send plain hash symbol or ~#blah to send any hashed command to your MUD
2) You may want to assign ~# to a macro key if you use this combo often (no need to type it every time).
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
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