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


Joined: 30 Apr 2003
Posts: 43
Location: Sweden

PostPosted: Thu Mar 18, 2004 4:30 pm   

A wierd thing.
 
Ok. I have a question. I have a trigger that looks like this with its value:

Pattern: A blast of fire shoots from your hand and strikes %1!!!

Value: #SUBSTITUTE {%ansi(bold, cyan)A blast of fire shoots from your hand and strikes %ansi(yellow)%1!!!%ansi(0)}

The problem is, this is what it looks like:
A blast of fire shoots from your hand and strikes enemy!!!lightblue

the "lightblue" thing is added. Why is it? I checked all my aliases. and I don't have any "lightblue" thing nor in my triggers. So this is kinda wierd.. Any one knows? And btw, sometimes it doesn't add the "lightblue" thing to it. and sometimes it does.
Reply with quote
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Thu Mar 18, 2004 4:55 pm   
 
I'm not sure why your getting that extra text, double check to make sure you do not have any other triggers that might be adding the lightblue text.

I did notice one slight problem in your pattern syntax. You should not use %1 in the pattern to capture text.

Try using (%w) if you only want to capture a single word, or (*) for multiple words.

Pattern:
A blast of fire shoots from your hand and strikes (*)!!!

Value:
#SUBSTITUTE {%ansi(bold, cyan)A blast of fire shoots from your hand and strikes %ansi(yellow){%1}!!!%ansi(0)}
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