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


Joined: 01 Feb 2003
Posts: 1
Location: USA

PostPosted: Sun Feb 02, 2003 4:21 am   

New User Questions
 
I am a very new user of zMUD and am a bit lost in the complexity of the program. I play Dragonrealms and have a couple questions I was hoping to get help with.

First, I have a couple triggers set-up in the main output window to capture thought messages and LogOn LogOff output into windows of their own, with the messages being #GAGged in the main window. Annoyingly, each gagged message scrolls the main output window with a single blank line. Can this be avoided?

Secondly, how ought one end a loop manually? I ran an alias that loops a few commands using #WHILE. The escape key seemed to bring things to a close, but there was no messaging, so I was wondering if this was the proper way to manually halt a loop. The escape key did not seem to stop a non-looping alias when pressed during a #WAIT. Is there a way to maually prevent the execution of commands which follow a #WAIT?

Thanks,
Andrew
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Sun Feb 02, 2003 5:09 am   
 
hm, the problem with the blank line is probably a line being sent by the mud that your not capturing, or gagging. maybe the pattern to end the capture is followed by a blank line? if that is the case i would considering adding a new state to the trigger that turns off the log/#gag sorta like this
pattern: ^$
commands: #gag
state: whatever stated is after the last one of the main trigger
options: within line
paramater: 1

using ESC is the best way to halt a looping alias, but if your trapped in a #wait statement, i think your only option is to open the debugger. consider replacing #wait with #alarm, the function of these two commands is very different, but theoretically anything that can be done with #wait can be done with #alarm.

--------

moon.icebound.net:9000
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