How do you access the style of the line that a trigger has matched within the send field? I know that there is a table as the fourth argument once you have passed it to a script, but I would like to have some control over what is displayed while just using the trigger editor.
Also, is there any way to make a regex to have match a string which is always six characters long, the first 1-5 of which are spaces, and the remainder is made of just numbers? Currently I just have it match "\s{1,5}\d{1,5}" but that will match one space and one number, or five spaces and five numbers, which it shouldn't.
I've been poking through the forums again, and I came upon the part of the faq that shows the chat capturing into another window. I was trying out what was done in there, but TriggerStyleRuns is always nil when I match the trigger.
Ah, I didn't realize that the only way to get the TriggerStyleRuns to get something assigned to it was to omit it. I didn't bother with omissions originally, since I wanted to see what the original data was and compare it to what was being printed by my script.
You don't have to omit it, you have to select "send to script (after omit)". The subtle difference is the order in which scripts are processed. In other words:
send_to="14"
There is no requirement to actually omit the matching line.