|
undergod Wanderer
Joined: 27 Jun 2001 Posts: 82
|
Posted: Tue Feb 04, 2003 6:20 am
auto processing? |
How do I stop zMUD from auto-processing a line? For instance, if I do "chat =)" it forms a variable called chat with no value. Is there an expression to stop it from doin that?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Feb 04, 2003 7:07 am |
quote:
How do I stop zMUD from auto-processing a line? For instance, if I do "chat =)" it forms a variable called chat with no value. Is there an expression to stop it from doin that?
In the Script Parser Preferences, General tab, there's an option called "use A=B syntax". Uncheck that, click apply or Ok and your problem should go away.
EDIT: be aware, though, that unchecking this option means you also cannot use that syntax in your scripting.
li'l shmoe of Dragon's Gate MUD |
|
|
|
undergod Wanderer
Joined: 27 Jun 2001 Posts: 82
|
Posted: Tue Feb 04, 2003 7:39 am |
I always use the syntax "#var variable newvalue" in my scripting anyways.
So, that works! I was after more of a #noscript type command that would just send the text without processing it, but this works just as well. Thanks. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Feb 04, 2003 12:14 pm |
Put a " at the beginning of the command line.
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Feb 04, 2003 12:42 pm |
Or click on the little computer icon to the right of the command line and then enable it again after you send the command to the MUD.
Kjata |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Feb 04, 2003 3:40 pm |
A couple more options:
#SEND will just send whatever comes after it (unless it's a filename, then it sends the file).
#SEND chat =)
You can prevent zMUD from parsing individual characters with the ~ symbol.
chat ~=)
LightBulb
Advanced Member |
|
|
|
|
|