Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: 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?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: 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.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Feb 04, 2003 12:14 pm   
 
Put a " at the beginning of the command line.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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