lockandkey: restrict portal triggers to tells only, ignore /a and other chat
All checks were successful
/ test (push) Successful in 34s
All checks were successful
/ test (push) Successful in 34s
This commit is contained in:
parent
f88481f0d1
commit
774932ae27
2 changed files with 12 additions and 12 deletions
|
|
@ -59,10 +59,10 @@ STATE: {idle}
|
||||||
DoExpr {clearvar[queuePrimary]}
|
DoExpr {clearvar[queuePrimary]}
|
||||||
DoExpr {clearvar[queueSecondary]}
|
DoExpr {clearvar[queueSecondary]}
|
||||||
~~ Listen for tells containing "primary"
|
~~ Listen for tells containing "primary"
|
||||||
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*primary.*"$} {}
|
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*primary.*"$} {}
|
||||||
DO: SetState {summon_primary}
|
DO: SetState {summon_primary}
|
||||||
~~ Listen for tells containing "secondary"
|
~~ Listen for tells containing "secondary"
|
||||||
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*secondary.*"$} {}
|
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*secondary.*"$} {}
|
||||||
DO: SetState {summon_secondary}
|
DO: SetState {summon_secondary}
|
||||||
~~ Periodic service check
|
~~ Periodic service check
|
||||||
IF: All
|
IF: All
|
||||||
|
|
@ -93,11 +93,11 @@ STATE: {summon_primary}
|
||||||
DoExpr {actiontrycastbyid[157]}
|
DoExpr {actiontrycastbyid[157]}
|
||||||
SetState {summon_primary}
|
SetState {summon_primary}
|
||||||
~~ Queue incoming tells while casting
|
~~ Queue incoming tells while casting
|
||||||
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*primary.*"$} {}
|
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*primary.*"$} {}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/a Queued 125 Eaters portal, will summon shortly.}
|
Chat {/a Queued 125 Eaters portal, will summon shortly.}
|
||||||
DoExpr {setvar[queuePrimary, 1]}
|
DoExpr {setvar[queuePrimary, 1]}
|
||||||
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*secondary.*"$} {}
|
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*secondary.*"$} {}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/a Queued Bellas portal, will summon shortly.}
|
Chat {/a Queued Bellas portal, will summon shortly.}
|
||||||
DoExpr {setvar[queueSecondary, 1]}
|
DoExpr {setvar[queueSecondary, 1]}
|
||||||
|
|
@ -125,11 +125,11 @@ STATE: {summon_secondary}
|
||||||
DoExpr {actiontrycastbyid[2648]}
|
DoExpr {actiontrycastbyid[2648]}
|
||||||
SetState {summon_secondary}
|
SetState {summon_secondary}
|
||||||
~~ Queue incoming tells while casting
|
~~ Queue incoming tells while casting
|
||||||
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*primary.*"$} {}
|
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*primary.*"$} {}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/a Queued 125 Eaters portal, will summon shortly.}
|
Chat {/a Queued 125 Eaters portal, will summon shortly.}
|
||||||
DoExpr {setvar[queuePrimary, 1]}
|
DoExpr {setvar[queuePrimary, 1]}
|
||||||
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*secondary.*"$} {}
|
IF: ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*secondary.*"$} {}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/a Queued Bellas portal, will summon shortly.}
|
Chat {/a Queued Bellas portal, will summon shortly.}
|
||||||
DoExpr {setvar[queueSecondary, 1]}
|
DoExpr {setvar[queueSecondary, 1]}
|
||||||
|
|
|
||||||
|
|
@ -488,7 +488,7 @@ n
|
||||||
s
|
s
|
||||||
p
|
p
|
||||||
s
|
s
|
||||||
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*primary.*"$
|
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*primary.*"$
|
||||||
s
|
s
|
||||||
c
|
c
|
||||||
s
|
s
|
||||||
|
|
@ -511,7 +511,7 @@ n
|
||||||
s
|
s
|
||||||
p
|
p
|
||||||
s
|
s
|
||||||
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*secondary.*"$
|
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*secondary.*"$
|
||||||
s
|
s
|
||||||
c
|
c
|
||||||
s
|
s
|
||||||
|
|
@ -716,7 +716,7 @@ n
|
||||||
s
|
s
|
||||||
p
|
p
|
||||||
s
|
s
|
||||||
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*primary.*"$
|
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*primary.*"$
|
||||||
s
|
s
|
||||||
c
|
c
|
||||||
s
|
s
|
||||||
|
|
@ -761,7 +761,7 @@ n
|
||||||
s
|
s
|
||||||
p
|
p
|
||||||
s
|
s
|
||||||
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*secondary.*"$
|
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*secondary.*"$
|
||||||
s
|
s
|
||||||
c
|
c
|
||||||
s
|
s
|
||||||
|
|
@ -947,7 +947,7 @@ n
|
||||||
s
|
s
|
||||||
p
|
p
|
||||||
s
|
s
|
||||||
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*primary.*"$
|
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*primary.*"$
|
||||||
s
|
s
|
||||||
c
|
c
|
||||||
s
|
s
|
||||||
|
|
@ -992,7 +992,7 @@ n
|
||||||
s
|
s
|
||||||
p
|
p
|
||||||
s
|
s
|
||||||
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, ".*secondary.*"$
|
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) tells you, ".*secondary.*"$
|
||||||
s
|
s
|
||||||
c
|
c
|
||||||
s
|
s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue