|
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Thu May 17, 2007 6:47 pm
parsing error thing |
i like when chatting to be able to use the #, :) :( etc and i can't use them at all cuz it calls it some sort of parsing error.
|
|
|
|
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Thu May 17, 2007 6:48 pm |
It also only seems to happen if i'm typing out a sentence then add that
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu May 17, 2007 8:40 pm |
Can you give some specific examples of what's failing and how you're entering them (inside scripts, on the command line, as the parameter of an alias, whatever)? I can't get this to fail on the command line with general chat.
EDIT: And please make sure you mention what version of CMUD you're using. |
|
|
|
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Mon Jul 02, 2007 6:41 am |
Ok, i was trying to enter this into my cmd line and it gives me an error msg
Listing of the Gods
-=-=-=-=-=-=-=-=-=-=-
<None>
There are 0 visible god(s) on.
Listing of the Mortals!
-=-=-=-=-=-=-=-=-=-=-=-=-
[55 Blood Reaver ] Ranz DreadLord Synagogue of Fury (inv) (Drow Elf)
[14 Shaman ] Spoo (Troll)
There are 2 mortal(s) on.
Total visible players: 2.
Total connections: 20.
Error Parsing command.
illegal token: =-=-=-=-=-==-=-=-=-=-
This happens all the time, when ever i use =, # and other signs in my tells or cmds into the mud, i was trying to write a note in the case of this. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Jul 02, 2007 10:00 am |
It's faily obvious why -=-=-= fails - the "=" character is CMUD's operator for assignment, but it doesn't understand how to assign like that. You need to put the line in quotes "" or start the line with a ` (not an apostrophe, the key next to the 1). This'll tell the parser to ignore that line.
Things like # are also special characters and need quoting (you can also quote a single character by putting a ~ before it) - the only exception to this should be the smiley faces - because they were used so often, support for them was built into zMUD's parser and carried over to CMUD, I think. If the worst comes to the worst, you can press Ctrl+R to temporarily turn off command line parsing entirely. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 02, 2007 5:09 pm |
Also, if you are trying to send lots of lines to the MUD like this (like if you are coding or world building), then try pressing Shift-Ctrl-Enter to open the editor window, then enter your long text and use the Send button to send the text (or press Shift-Ctrl-Enter again). The editor has it's own Parse setting (like the Ctrl-R for the command line). So you can turn off the Parse option in the editor Options window and use it when you want to send lots of text to the MUD verbatim.
|
|
|
|
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Tue Jul 03, 2007 7:05 pm |
i can't seem to use most of my :) :( smileys either when i'm writing out my says, but your suggestions should help, the ctrl 4 thing should hopefully help
|
|
|
|
|
|