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


Joined: 31 Oct 2002
Posts: 2

PostPosted: Thu Oct 31, 2002 3:33 am   

#cw is creating new triggers
 
If I crate a combat trigger to highlight only my attacks its crating new triggers, any solutions?

Your {slash|punch|pound|pierce} ({hits|massacres|annihilates|obliterates|cremates|beats the shit out of|BEATS THE LIVING SHIT out of|POUNDS THE FUCK out of|FUCKING DEMOLISHES|sting|TOTALLY FUCKING DISINTEGRATES})

#CW %1 135

Then it starts to create seprate triggers for every %1 that I do.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Oct 31, 2002 3:40 am   
 
quote:

If I crate a combat trigger to highlight only my attacks its crating new triggers, any solutions?

Your {slash|punch|pound|pierce} ({hits|massacres|annihilates|obliterates|cremates|beats the shit out of|BEATS THE LIVING SHIT out of|POUNDS THE FUCK out of|FUCKING DEMOLISHES|sting|TOTALLY FUCKING DISINTEGRATES})

#CW %1 135

Then it starts to create seprate triggers for every %1 that I do.



When using #CW and related commands in a trigger like this, you don't need to specify the text to color:

#trigger {This is a trigger pattern} {#cw yellow}

Also, if you use #CW to specify color and attribute (bold or blinking, for example), you don't need to use a space:

#cw green,bold

li'l shmoe of Dragon's Gate MUD
Reply with quote
Mappy
Newbie


Joined: 31 Oct 2002
Posts: 2

PostPosted: Thu Oct 31, 2002 3:52 am   
 
Right, but I dont want it to highlight the entire trigger text.. I just want the highlight on ({hits|massacres|annihilates|obliterates|cremates|beats the **** out of|BEATS THE LIVING **** out of|POUNDS THE **** out of|****ING DEMOLISHES|sting|TOTALLY ****ING DISINTEGRATES}) and only for my attacks

this way when
Your punch annihilates A minor noble!
annihilates will be colored
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Oct 31, 2002 4:14 am   
 
quote:

Right, but I dont want it to highlight the entire trigger text.. I just want the highlight on ({hits|massacres|annihilates|obliterates|cremates|beats the **** out of|BEATS THE LIVING **** out of|POUNDS THE **** out of|****ING DEMOLISHES|sting|TOTALLY ****ING DISINTEGRATES}) and only for my attacks

this way when
Your punch annihilates A minor noble!
annihilates will be colored



Then you probably don't want to use #CW. Use #SUB instead, like this (be sure to encircle the slash/punch/pound/pierce portion of your trigger with parentheses so you can capture it):

#SUB {Your %1 %ansi(insert color here)%2}

if you have a beta version, you might want to look into use of the #PCOL command.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Oct 31, 2002 4:30 am   
 
quote:

Right, but I dont want it to highlight the entire trigger text.. I just want the highlight on ({hits|massacres|annihilates|obliterates|cremates|beats the **** out of|BEATS THE LIVING **** out of|POUNDS THE **** out of|****ING DEMOLISHES|sting|TOTALLY ****ING DISINTEGRATES}) and only for my attacks



Yes, this is what #CW does. It highlights whatever the trigger's pattern matched. So, your pattern stays like it is and you put in for the command of the trigger:
#CW 135

Kjata
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Oct 31, 2002 6:59 am   
 
quote:

quote:

Right, but I dont want it to highlight the entire trigger text.. I just want the highlight on ({hits|massacres|annihilates|obliterates|cremates|beats the **** out of|BEATS THE LIVING **** out of|POUNDS THE **** out of|****ING DEMOLISHES|sting|TOTALLY ****ING DISINTEGRATES}) and only for my attacks



Yes, this is what #CW does. It highlights whatever the trigger's pattern matched. So, your pattern stays like it is and you put in for the command of the trigger:
#CW 135

Kjata



He didn't want to highlight the entire trigger pattern, just the captured portion (in his case, the severity of the blow landed). You really need to slow down, Kjata, the world looks so much better.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Oct 31, 2002 1:22 pm   
 
Hehe, I was thinking about it when I wrote it. It's just that I took as a pattern what was posted in the reply and not the original post on the top.

Kjata
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