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
Bradach
Beginner


Joined: 21 Mar 2003
Posts: 19
Location: USA

PostPosted: Sat Sep 27, 2003 1:00 am   

#WINDOW
 
Ok, I want to set it up so that all communications starting with [FORM] are directed to a seperate window. For example:

[FORM] Bradach tells everyone, 'Hi'.

This should be simple, right? Well, I can't make it work. Can someone write a trigger for it? Oh, BTW, the brackets are in cyan, and the letters are in magenta. I think that may be where I'm running into a problem, but I can't fix it.
Reply with quote
user0101
Apprentice


Joined: 01 Aug 2003
Posts: 100
Location: USA

PostPosted: Sat Sep 27, 2003 2:09 am   
 
To capture one line strings of text, do this:

#TRIGGER {~[FORM~] %w tells everyone, '*'} {#CAP Channels}

Or, to capture multi-lines do this:

#TRIGGER {yourprompttriggerhere} {#t- cap}
#CLASS Communication
#TRIGGER {~[FORM~] %w tells everyone, '*'} {#t+ Cap}
#CLASS 0

Copy paste those 3 lines into the text bar, hit enter. Then copy this:

#CLASS {Communication|Cap} {disable}
#TRIGGER {*} {#CAPTURE Channels}
#CLASS 0

This is a chopped down version of a Finished Script, which deserves credit here -http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=8698.

If you plan on using the latter, supply your normal prompt readout and we can take it from there. (Note - I am using zMUD 6.40)
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