|
Zion3kingdoms Newbie
Joined: 23 Sep 2005 Posts: 4 Location: Texas
|
Posted: Fri Sep 23, 2005 3:24 am
3 KINGDOMS CHATLINE MONITOR |
YOU MUST "#WINDOW chats"
This Captures most of the normal chatlines and also some of the ones that I use most often. Figured I would put this up because I have been asked for it often enough.
FOR MORE SPECIFIC CLASSIFICATION OF CHATLINES:
#WINDOW tells
#WINDOW Guild
#WINDOW Other
#WINDOW pkstuff
#WINDOW ClanWorld
#CLASS {chatlines}
#REGEX {(?:> )?([(?:Mage\(\d+\)|Arch Mage|High Arch)] [A-Z][a-z]+ : .*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"%1"};:Guild:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"%1"}}
#REGEX {(?:> )?((?:You tell [A-Z][a-z]+|[A-Z][a-z]+ tells you): .*)$} {#BEEP;:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, red)"%1"};:tells:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, red)"%1"}}
#COND {^ (.*)$} {:chats:#SAYPROMPT {%ansi( hi, red)" %1"};:tells:#SAYPROMPT {%ansi( hi, red)" %1"}} {looplines|prompt|regex}
#REGEX {(?:> )?((?:You LT|[A-Z][a-z]+ LTs) \(.*\))$} {#BEEP;:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, red)"%1"};:tells:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, red)"%1"}}
#COND {^(?: LT: | )(.*)$} {:chats:#SAYPROMPT {%ansi( white)" %1"};:tells:#SAYPROMPT {%ansi( white)" %1"}} {looplines|prompt|regex}
#TRIGGER {~-~-~<~@ (%w) ~@~>~-~- (*)} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, green, red)"~-~-~<~@ %1 ~@~-~-"%ansi( yellow)" %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, green, red)"~-~-~<~@ %1 ~@~-~-"%ansi( yellow)" %2"}}
#TRIGGER {(%w)~[NEX~] : (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( green)"%1[NEX] : %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( green)"%1[NEX] : %2"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( green)" %1"};:Other:#SAYPROMPT {%ansi( green)" %1"}} {looplines|param=3}
#TRIGGER {~[Clan~] (%w) : (*)$} {#BEEP;:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, blue)"~[Clan~] %1: "%ansi( hi, red)"%2"};:ClanWorld:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, blue)"~[Clan~] %1: "%ansi( hi, red)"%2"}}
#TRIGGER {(%w) ~<ALPHA Uplink~>: (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, yellow, blue)"%1 ~<ALPHA Uplink~>:"%ansi( yellow)" %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, yellow, blue)"%1 ~<ALPHA Uplink~>:"%ansi( yellow)" %2"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( yellow)"%1"};:Other:#SAYPROMPT {%ansi( yellow)"%1"}} {looplines}
#TRIGGER {newb (%w) ~[(%w)/(%d)~]: (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, white)"newb %1 ~[%2/%3~] :"%ansi( yellow)" %4"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, white)"newb %1 ~[%2/%3~] :"%ansi( yellow)" %4"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( yellow)"%1"};:Other:#SAYPROMPT {%ansi( yellow)"%1"}} {looplines}
#TRIGGER {newb (%w) ~[(%w)~]: (*)$} {#BEEP;#IF ((%lower( %2)="newbie") OR (%lower( %2)="wizard")) {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, white)"newb %1 ~[%2~]:"%ansi( yellow)" %3"}};#IF ((%lower( %2)="newbie") OR (%lower( %2)="wizard")) {:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, white)"newb %1 ~[%2~]:"%ansi( yellow)" %3"}}}
#TRIGGER {(%w) ~[HELPER~]: (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, red)"%1 ~[HELPER~]:"%ansi( yellow)" %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, red)"%1 ~[HELPER~]:"%ansi( yellow)" %2"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( yellow)"%1"};:Other:#SAYPROMPT {%ansi( yellow)"%1"}} {looplines}
#TRIGGER {(%w) ~-~=PK~=~-: (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, red)"%1 ~-~=PK~=~-"%ansi( white)" %2"};:pkstuff:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, red)"%1 ~-~=PK~=~-"%ansi( white)" %2"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( white)"%1"};:pkstuff:#SAYPROMPT {%ansi( black, red)"%1"}} {looplines}
#TRIGGER {~[Portal: (%w)~] (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( blue)"~["%ansi( hi, cyan)"Portal : "%ansi( hi, green)"%1" %ansi( blue)"~]"%ansi( yellow)" %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( blue)"~["%ansi( hi, cyan)"Portal : "%ansi( hi, green)"%1" %ansi( blue)"~]"%ansi( yellow)" %2"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( yellow)"%1"};:Other:#SAYPROMPT {%ansi( yellow)"%1"}} {looplines}
#TRIGGER {~[PARTY~] (%w): (*)$} {#BEEP;:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow, red)"~[PARTY~] %1:"%ansi( hi, white)" %2"};:tells:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow, red)"~[PARTY~] %1:"%ansi( hi, white)" %2"}}
#TRIGGER {~[Sorcerer~] (%w) : (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"~[Sorcerer~] %1 : %2"};:Guild:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"~[Sorcerer~] %1 : %2"}}
#TRIGGER {~[Arena Chat~] (%w): (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow, cyan)"~[Arena Chat~] %1 :"%ansi( white)" %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow, cyan)"~[Arena Chat~] %1 :"%ansi( white)" %2"}}
#COND {^ (*)$} {:chats:#SAYPROMPT {%ansi( white)"%1"};:Other:#SAYPROMPT {%ansi( white)"%1"}} {looplines}
#TRIGGER {(%w) ~>~>BOOK~>~> (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, blue)"%1"%ansi( hi, red)" ~>~>BOOK~>~> "%ansi( hi, blue)"%2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( hi, blue)"%1"%ansi( hi, red)" ~>~>BOOK~>~> "%ansi( hi, blue)"%2"}}
#TRIGGER {From afar, (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( green, blue)"%1"}}
#TRIGGER {(%w) ~<(*)~>: (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, green)"%1 ~<%2~>:"%ansi( white)" %3"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( black, green)"%1 ~<%2~>:"%ansi( white)" %3"}}
#COND {^ (*)$} {:chats:#SAYPROMPT %ansi( white)"%1";:Other:#SAYPROMPT %ansi( white)"%1"} {looplines|param=1}
#TRIGGER {(*) ~-~=~(OMP~)~=~- (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( red, blue)"%1~-~=~(OMP~)~=~-:"%ansi( white)" %2"};:Other:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( red, blue)"%1~-~=~(OMP~)~=~-:"%ansi( white)" %2"}}
#TRIGGER {(%w)~((*)~) (*)$} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"~[Clan Shout~] %1(%2) "%ansi( hi, white)"%3"};:ClanWorld:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"~[Clan Shout~] %1(%2) "%ansi( hi, white)"%3"}}
#TRIGGER {~[CLAN DEATH~] (%w) gives (%w) a mild case of death, in Clanworld~!} {:chats:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"~[Clan Death~] "%ansi( hi, white)"%1"%ansi( yellow)" gives "%ansi( hi, white)"%2"%ansi( yellow)" a mild case of death, in Clanworld~!"};:ClanWorld:#SAYPROMPT {%cr%ansi( white)"["%time( "h:nn:ss")"] "%ansi( yellow)"~[Clan Death~] "%ansi( hi, white)"%1"%ansi( yellow)" gives "%ansi( hi, white)"%2"%ansi( yellow)" a mild case of death, in Clanworld~!"}}
#CLASS 0
www.3k.org 3000
Zion
PK FOR LIFE |
|
|
|
Daagar Magician
Joined: 25 Oct 2000 Posts: 461 Location: USA
|
Posted: Sat Sep 24, 2005 12:27 am |
Strange that you're asked for them when they were created by Ford/Cell/Fingolfin and myself ;)
You'll get a minor speed gain, I believe, by converting the few triggers you have that aren't regex into regex triggers.
Also, you can use the following instead to condense the tell triggers together into one:
#REGEX {^(?:>\s)*(You tell \w+|\w+ tells you|\w+ LTs \(.+\)|You LT \(.+\))\:?(.*)$$(.*)$$} {
#GAG
:tell:#SAYPROMPT {%cr%ansi( bold, blue)"["%time( hh:mm)"] "%ansi( bold, cyan)"["%1"]: "%ansi( bold, grey)%2}
}
#COND {^ +(?:LT\:)?(.*)$$} {
#GAG
:Tell:#SAYPROMPT {%ansi( bold, grey)" "%1}
} {looppat|prompt|regex}
Note that since the time of the original post (http://www.aust3k.com/forums/viewtopic.php?t=109&postdays=0&postorder=asc&start=30), we found ^(?:>\s)* to work better at cleaning up errant prompts, since in times of lag or other triggers firing you can occasionally get multiple prompts on the same line. The old style would just catch the first and not any subsequent ones. |
|
|
|
Zion3kingdoms Newbie
Joined: 23 Sep 2005 Posts: 4 Location: Texas
|
Posted: Sat Sep 24, 2005 2:05 am |
So great that "THESE" triggers that were supposedly created by you/cell/ford/fingolfin are not the ones "exact" same as you have so eliquently put. For any additional scripts please shoot me a tell on 3k.
So long and thanks for all idiots. |
|
|
|
malikai3k Beginner
Joined: 24 Dec 2004 Posts: 14 Location: Brisbane, Australia
|
Posted: Sun Nov 13, 2005 1:11 am ummm |
yea ok they aren't all that hard to create i have created them myselft too cept mine are all ansi triggers based on my aset so if i do a line hist it doesn't spam the heck out of my comms window
|
|
|
|
zurp Newbie
Joined: 12 Feb 2006 Posts: 1
|
Posted: Wed Mar 01, 2006 6:46 pm The purpose of the multiple endline characters |
If I may ask, what is the purpose of (.*)$$(.*)$$ as opposed to just (.*)$ in these triggers?
Daagar wrote: |
Also, you can use the following instead to condense the tell triggers together into one:
#REGEX {^(?:>\s)*(You tell \w+|\w+ tells you|\w+ LTs \(.+\)|You LT \(.+\))\:?(.*)$$(.*)$$} {
#GAG
:tell:#SAYPROMPT {%cr%ansi( bold, blue)"["%time( hh:mm)"] "%ansi( bold, cyan)"["%1"]: "%ansi( bold, grey)%2}
}
#COND {^ +(?:LT\:)?(.*)$$} {
#GAG
:Tell:#SAYPROMPT {%ansi( bold, grey)" "%1}
} {looppat|prompt|regex}
|
|
|
|
|
|
|
|
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
|
|