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
Killfile
Novice


Joined: 30 Sep 2002
Posts: 32
Location: USA

PostPosted: Tue Oct 22, 2002 3:37 am   

Multi Color Capture
 
I've got a text capture routine. The problem is I've got two channels which are slightly different (namely in color) and I can't get my capture triggers to tell them apart.

Channel One (RED)<(BLUE){(WHITE)name(BLUE)}(RED)> (PURPLE)message

Channel Two Channel One (RED)<(BLUE){(WHITE)name(BLUE)}(RED)> (BLUE)message

Sorry about the color codes. How do I make a trigger that will look for those color patterns? I've tried pasting the text in like the help file says.. and that doesn't work.


--Killfile
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri Oct 25, 2002 10:23 am   
 
Did you enable the "ANSI Trigger" option in the options tab of the triggers?

Rorso
Currently using zMUD 6.36b
Reply with quote
Killfile
Novice


Joined: 30 Sep 2002
Posts: 32
Location: USA

PostPosted: Fri Oct 25, 2002 11:47 am   
 
quote:

Did you enable the "ANSI Trigger" option in the options tab of the triggers?



Yep.... no luck


--Killfile
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri Oct 25, 2002 12:09 pm   
 
ok I'll write how I got it to work.

First I created a new trigger and enabled the "ANSI Trigger" option. After this I select some text from the mud output. Then I select the pattern page. To paste the text you can't use the edit->paste, nor does right clicking and select paste work either. It has to be the control+v method to paste the text.

Short version:
1. Make sure you have "ANSI Trigger" enabled before you paste the pattern.
2. Select some colourful text in the mud output.
3. Use the control+v to paste the text.

I hope this works!

Note: I haven't been able to test if the pattern is matched correctly but I did get the colour codes in the pattern field.

Rorso
Currently using zMUD 6.36b
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