|
Malicjut Newbie
Joined: 25 Jul 2004 Posts: 5
|
Posted: Tue Aug 10, 2004 3:09 pm
New twist on Multiline Chat Capture |
Realising this is likely an often asked question I combed through the postings for capturing chats for two days before posting this. I have a couple of questions for clarification and what I think is a unique and unaddressed situation which I am having difficulty fashioning a solution from the posts I read about this topic.
The difference between multiline and multistate triggers is confusing, which is which and when is it best to use which one.
My actual issue
[retro]: Malucjut fashions a broom handle from a frog a tree and
some other odds and ends
Malicjut [retro]: is there a way to remove all labels simultaneously
and then not have to worry about the possibility of mixing
up anymore
the [] and {} are not specific for some reason some people get straight brackets and some get curly so I need to be able to capture either.
The problem is, you do not always get a statusline after one of these, there is no set punctuation that would denote the end.
What is constant is after receiving a tell or chat line, if the next line is part of it there are 5 spaces that start the line, and if not, then it is part of something else. Somtimes the tells are 3 or more lines lone and I would like to create one trigger to capture any number of lines for a given inital pattern. I am not sure how to tell it to evaluate the next line and see if it starts with 5 spaces, or if I just need a trigger on 5 spaces and to evaluate the line before. I would like to do this in the most speed effiecent manner possible. If you can help me hash out the line issue I can handle duplicating it for the various types of brackets and tell chat types. Thanks |
|
|
|
Malicjut Newbie
Joined: 25 Jul 2004 Posts: 5
|
Posted: Tue Aug 10, 2004 3:11 pm |
oh this sucks it shows my examples but without the spaces, let me try again
[retro]: Malucjut fashions a broom handle from a frog a tree and
_____some other odds and ends
Malicjut [retro]: is there a way to remove all labels simultaneously
_____and then not have to worry about the possibility of mixing
_____up anymore
the underlines are for the spaces that the forum refuses to allow, and yes it is 5 spaces and not one tab character |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Aug 10, 2004 6:59 pm |
The order of triggers is significant.
Code: |
#TR retrocap {(*)} {#IF (%begins( "%1", " ")) {#CAP retro} {#T- retrocap}}
#TR {~[retro~]:} {#T+ retrocap;#CAP retro}
#TR {~{retro~}:} {#T+ retrocap;#CAP retro}
|
By the way, I think you'll find the people who get {} are all leaders. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
Malicjut Newbie
Joined: 25 Jul 2004 Posts: 5
|
Posted: Sat Aug 21, 2004 4:13 pm Triger Order |
Why is it the order of the trigers is significant?
|
|
|
|
|
|