trigger matches not working

Posted by Faolong on Fri 01 Nov 2002 12:32 AM — 6 posts, 20,969 views.

USA #0
okay i have a trigger match:
(\w*)\s(?:ask|asks|say|says|tell|tells|whisper|whispers)\s[to]*\s*[a|an|the]*\s*(.*)\, \'(.*)\'\.$

and i have continuous lines when i type color show:

(%) Someone} heh heh you shall die! <--works
(talk) You say to the Cityguard, 'Guarding the city, eh?'. <--doesn't work
(%) Group} Let's kill! <--works
(whisper) You whisper to Demigo, 'You're cute!'. <--doesn't work
(%) Puk} Why don't you ever log on? <--works

and if i have omit from output not checked, it all works.... this didn't happen in the version i used before which is 3.27, and now that i upgraded it doesn't work...
Australia Forum Administrator #1
I'm trying hard but can't reproduce Shadowfyr's problem, and yours sounds similar.

Can you make sure "show line information" is enabled, and move the mouse over the lines in question?

A yellow box should pop up with something like:

Line 954, Friday, November 01, 12:40:32 PM, (xxx)

The (xxx) should be one of:

<not there> : ie. an output line
(input)
(note)

Can you confirm that the lines which *should* be matching the triggers are output lines, or does it think they are input or note lines?

Ditto to Shadowfyr.
Amended on Fri 01 Nov 2002 12:43 AM by Nick Gammon
Australia Forum Administrator #2
Also, can you tell me what lines you are omitting from output?

ie. give me the MUD output, show which lines are omitted, and which ones are notes, if any.
Australia Forum Administrator #3
Try version 3.30, the fix I did for Shadowfyr might work for you too.
USA #4
oh man, you fixed it, you even did great things with it... cause in necromium before and after the prompt line there was a carriage return and now there isn't.... and it looks so much more compact and clean without all that blank space and all...
Australia Forum Administrator #5
Good - glad I fixed it, even if that was unintentional. :O)