|
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Wed Oct 13, 2010 5:08 pm
Special characters |
The mud I play uses special characters in ways that cmud doesn't seem to enjoy.
Before v. 3 I could just uncheck the ones my mud uses for defining emotes in order to have them behave in the way the server expects.
With the new versions however, if I uncheck the special characters it affects triggers.
Can anyone suggest some workarounds? |
|
|
|
Moo Apprentice
Joined: 10 Apr 2009 Posts: 145
|
Posted: Wed Oct 13, 2010 7:25 pm |
Only thing you can really do is change them to different characters that don't conflict with your MUD, and also change them in your scripts.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Wed Oct 13, 2010 8:17 pm |
Exactly how are these characters a problem? Are you trying to use them in commands executed from triggers and aliases? Give some examples.
If it is that you are trying to execute a command to your mud from within a script, there are several solutions. If the character is used within quotation marks, it will not be interpreted as a cmud character. Or you can quote the character by preceding it with a tilde, ~.
If you give examples, we can help you further. |
|
|
|
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Wed Oct 13, 2010 8:27 pm |
My mud has an extensive emoting system. You are expected to use it. If you target the tall guy you type ~tall. You see the tall guy. The room sees the tall guy. The tall guy sees you.
The following characters are used in this way:
Symbol Reference Target Sees
------ --------- -----------
~ (sdesc) you
% (sdesc)'s your
! him/her you
^ his/her your
# he/she you
& himself/herself yourself
= (sdesc)'s yours
+ his/hers yours
Now that's great. Except sometimes you type one of these characters and cmud doesn't use it as intended.
A semicolon is read as a line break. Or the symbol is completely overlooked.
So, I go on and uncheck the special character. And everything is fine, until the triggers don't trigger. |
|
|
|
Moo Apprentice
Joined: 10 Apr 2009 Posts: 145
|
Posted: Thu Oct 14, 2010 6:34 am |
If you need to be using that many different characters, you probably could get used to typing "`" at the start of all your lines. This will mean the rest of the line will be sent to the mud as it is.
Of course, your mud might also use the ` character for something. If so, you can change this character (line quote) to something else.
Doing things like this might be easier than trying to redefine all the characters your mud uses. |
|
|
|
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Thu Oct 14, 2010 11:05 am |
Someone suggested I turn off command line parsing. But I can't figure out how.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Oct 14, 2010 12:40 pm |
This looks like Armageddon. :)
I've just gotten in the habit of quoting all those characters in emote commands, using ~. E.g.:
emote rolls his eyes at ~~figure.
emote waves vaguely at ~^joe leg. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Oct 14, 2010 3:51 pm |
To turn off command line parsing click on the computer icon next to the command line. Command Line parsing is off when there is a red X over the icon.
|
|
_________________ Asati di tempari! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Oct 14, 2010 6:54 pm |
The Ctrl-R key will also toggle parsing off and on.
|
|
|
|
Badmonster Wanderer
Joined: 06 Feb 2010 Posts: 81
|
Posted: Fri Oct 15, 2010 11:40 am |
Thanks Everyone
|
|
|
|
|
|