Jonathin
Mar 16 2009, 02:39 AM
I'm doing this on Aardwolf as a start, because it has the nifty <MAPSTART> and <MAPEND> lines before and after the map.
I have 3 RegEx triggers.
Pattern: ^\<MAPEND\>$ <--BASE
Send: /tgroupoff mapcap
Pattern:^\<MAPSTART\>$ <--BASE
Send:/tgroupon mapcap
Pattern: (.*) <--MAPCAP
^--Just sends whatever it receives to the output window and gags it in the main window.
The problem is:
It'll turn the group MAPCAP on, but then when it receives the <MAPEND> line, it doesn't turn it back off thus sending everything to the output window instead of the main window. Am I doing something wrong?
Bolded=Groups
Italics=send commands
Edit: See underlined
Eldar
Mar 16 2009, 02:55 AM
Maybe put an /echo in your <MAPEND> trigger to make sure it's matching? Aardwolf could be sending it in a weird way or something, I guess.
Jonathin
Mar 16 2009, 03:04 AM
Okay, so the problem comes when I try to add in the (.*) trigger.
Before I add in that trigger, the triggers work fine, they turn the groups on and off.
As soon as I add in the (.*) though, it doesn't turn off.
Jonathin
Mar 16 2009, 03:15 AM
Bleh, nevermind, I fixed it. thanks!
Bannin
Mar 19 2009, 06:44 AM
Check "keep matching or "fall-through" or whatever it's called in the options for the (.*) trigger.
Edit: I just necroed a thread to answer a question that no longer needs an answer.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.