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


Joined: 07 Oct 2004
Posts: 25

PostPosted: Thu Oct 07, 2004 10:27 pm   

Triggering off ANSI
 
I am looking to trigger off a word being bold if that makes any sense. Here is an example


Lord General Billy
Arxarios Sandra
Magos Antiol, The Magi of Darkness
Kalei, Haunted Shade
Demon Lord Caharin Rahl, Phantom of Darkness

I need it to nab up the bold words and put them in a variable.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Oct 08, 2004 9:48 pm   
 
Follow the same procedure as any other ANSI trigger. Only the code will be different from doing the same thing for a particular color, and the correct code will be picked up by the Paste operation.
Quote:
To trigger on specific color patterns, turn this option (ANSI trigger) on, select the line from the MUD output window that contains the pattern you want to match, and paste (Ctrl-V) this line into the trigger pattern field. If the Ansi Trigger option was on when you pasted the line, any ANSI color codes will be pasted into the Pattern field along with the rest of the text.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
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