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


Joined: 12 Jan 2003
Posts: 33
Location: Netherlands

PostPosted: Sat Jun 26, 2004 12:32 pm   

Easy trigger help
 
I used to capture a question/answer channel but it doesn't seem to work anymore after i've upgraded to 7.04. Can anyone tell me why?

This is the trigger i use:
~[{ ? |Answer}~]
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Sat Jun 26, 2004 3:15 pm   
 
I assume that the ? is what you're expecting? If you have "Wildcards in {} triggers" enabled in the Prefs (Script Parser -> General Parsing), it may be looking at the ? as a single-character wildcard instead of an actual question mark. I'd try this minor change:
~[{ ~? |Answer}~]
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Jun 26, 2004 4:11 pm   
 
I believe there was a minor bug in the handling of some triggers in 7.04. You should upgrade to 7.05
Reply with quote
Ruderion
Novice


Joined: 12 Jan 2003
Posts: 33
Location: Netherlands

PostPosted: Sat Jun 26, 2004 8:21 pm   
 
Seems i am using 7.05
Wildcards in triggers was not enabled. So, i enabled it and tried again, didn't work. I changed the trigger too but it still didn't work. Only the Answer-part gets captured but not the ?-part.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Sat Jun 26, 2004 9:32 pm   
 
quote:

This is the trigger i use:
~[{ ? |Answer}~]



Both [ ? ] and [Answer] fire that trigger for me. I just tested it in v7.05.

I can't imagine why it doesn't work for you. Are you sure that there are single spaces before and after the question mark?

If you copy|paste the line you want to capture in the trigger test box, does it match?
Reply with quote
Ruderion
Novice


Joined: 12 Jan 2003
Posts: 33
Location: Netherlands

PostPosted: Sun Jun 27, 2004 1:16 pm   
 
i deleted the trigger and created it from scratch. For some reason it works now. I have no idea what has changed. *shrug*

Anyway, thanks for trying to help
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