try to match leader name for death recall
All checks were successful
/ test (push) Successful in 20s
All checks were successful
/ test (push) Successful in 20s
This commit is contained in:
parent
e0a442313c
commit
fb98a57c96
2 changed files with 113 additions and 37 deletions
|
|
@ -21,6 +21,10 @@
|
||||||
~~ ============================================================
|
~~ ============================================================
|
||||||
|
|
||||||
STATE: {Default}
|
STATE: {Default}
|
||||||
|
IF: Always
|
||||||
|
DO: DoAll
|
||||||
|
DoExpr {touchvar[deathCount]}
|
||||||
|
DoExpr {touchvar[deathClock]}
|
||||||
IF: All
|
IF: All
|
||||||
Expr {getvar[isLeader]}
|
Expr {getvar[isLeader]}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
|
|
@ -74,14 +78,18 @@ STATE: {Hunt}
|
||||||
ChatMatch {the acidic mist!}
|
ChatMatch {the acidic mist!}
|
||||||
DO: CallState {vr_gas_dodge} {Hunt}
|
DO: CallState {vr_gas_dodge} {Hunt}
|
||||||
IF: All
|
IF: All
|
||||||
ChatCapture {(?<who>\w[\w ]*\w) +getvar[followTarget] has died!$} {}
|
ChatMatch {^.* +getvar[followTarget] has died!$}
|
||||||
Expr {getvar[isLeader]==0}
|
Expr {getvar[isLeader]==0}
|
||||||
DO: SetState {run_away}
|
DO: DoAll
|
||||||
IF: ChatCapture {(?<who>\w[\w ]*\w) has died!$} {}
|
ChatExpr {\/f +getvar[followTarget] dead...he dead.}
|
||||||
|
SetState {run_away}
|
||||||
|
IF: ChatMatch {^.*has died!$}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/f I SAW DEATH!}
|
Chat {/f I SAW DEATH!}
|
||||||
DoExpr {setvar[deathCount, getvar[deathCount]+1]}
|
DoExpr {setvar[deathCount, getvar[deathCount]+1]}
|
||||||
IF: Expr {getvar[deathCount]==1}
|
IF: All
|
||||||
|
Expr {getvar[deathCount]==1}
|
||||||
|
Not Expr {getvar[deathClock]}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/f deathClock started}
|
Chat {/f deathClock started}
|
||||||
DoExpr {setvar[deathClock,stopwatchcreate[]]}
|
DoExpr {setvar[deathClock,stopwatchcreate[]]}
|
||||||
|
|
@ -92,7 +100,7 @@ STATE: {Hunt}
|
||||||
Expr {getvar[deathClock]}
|
Expr {getvar[deathClock]}
|
||||||
Expr {stopwatchelapsedseconds[getvar[deathClock]]>60}
|
Expr {stopwatchelapsedseconds[getvar[deathClock]]>60}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
Chat {/f deathClock stoppped}
|
Chat {/f deathClock stopped}
|
||||||
DoExpr {clearvar[deathCount]}
|
DoExpr {clearvar[deathCount]}
|
||||||
DoExpr {clearvar[deathClock]}
|
DoExpr {clearvar[deathClock]}
|
||||||
IF: All
|
IF: All
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,48 @@ n
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
42
|
43
|
||||||
|
i
|
||||||
|
1
|
||||||
|
i
|
||||||
|
3
|
||||||
|
i
|
||||||
|
0
|
||||||
|
TABLE
|
||||||
|
2
|
||||||
|
K
|
||||||
|
V
|
||||||
|
n
|
||||||
|
n
|
||||||
|
2
|
||||||
|
i
|
||||||
|
7
|
||||||
|
TABLE
|
||||||
|
2
|
||||||
|
k
|
||||||
|
v
|
||||||
|
n
|
||||||
|
n
|
||||||
|
1
|
||||||
|
s
|
||||||
|
e
|
||||||
|
s
|
||||||
|
touchvar[deathCount]
|
||||||
|
i
|
||||||
|
7
|
||||||
|
TABLE
|
||||||
|
2
|
||||||
|
k
|
||||||
|
v
|
||||||
|
n
|
||||||
|
n
|
||||||
|
1
|
||||||
|
s
|
||||||
|
e
|
||||||
|
s
|
||||||
|
touchvar[deathClock]
|
||||||
|
s
|
||||||
|
Default
|
||||||
i
|
i
|
||||||
2
|
2
|
||||||
i
|
i
|
||||||
|
|
@ -415,7 +456,7 @@ Hunt
|
||||||
i
|
i
|
||||||
2
|
2
|
||||||
i
|
i
|
||||||
1
|
3
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
K
|
K
|
||||||
|
|
@ -424,22 +465,9 @@ n
|
||||||
n
|
n
|
||||||
2
|
2
|
||||||
i
|
i
|
||||||
28
|
4
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
s
|
s
|
||||||
p
|
^.* +getvar[followTarget] has died!$
|
||||||
s
|
|
||||||
(?<who>\w[\w ]*\w) +getvar[followTarget] has died!$
|
|
||||||
s
|
|
||||||
c
|
|
||||||
s
|
|
||||||
|
|
||||||
i
|
i
|
||||||
26
|
26
|
||||||
TABLE
|
TABLE
|
||||||
|
|
@ -453,29 +481,38 @@ s
|
||||||
e
|
e
|
||||||
s
|
s
|
||||||
getvar[isLeader]==0
|
getvar[isLeader]==0
|
||||||
s
|
TABLE
|
||||||
run_away
|
2
|
||||||
s
|
K
|
||||||
Hunt
|
V
|
||||||
|
n
|
||||||
|
n
|
||||||
|
2
|
||||||
i
|
i
|
||||||
28
|
8
|
||||||
i
|
|
||||||
3
|
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
k
|
k
|
||||||
v
|
v
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
2
|
1
|
||||||
s
|
s
|
||||||
p
|
e
|
||||||
s
|
s
|
||||||
(?<who>\w[\w ]*\w) has died!$
|
\/f +getvar[followTarget] dead...he dead.
|
||||||
|
i
|
||||||
|
1
|
||||||
s
|
s
|
||||||
c
|
run_away
|
||||||
s
|
s
|
||||||
|
Hunt
|
||||||
|
i
|
||||||
|
4
|
||||||
|
i
|
||||||
|
3
|
||||||
|
s
|
||||||
|
^.*has died!$
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
K
|
K
|
||||||
|
|
@ -503,11 +540,20 @@ setvar[deathCount, getvar[deathCount]+1]
|
||||||
s
|
s
|
||||||
Hunt
|
Hunt
|
||||||
i
|
i
|
||||||
26
|
2
|
||||||
i
|
i
|
||||||
3
|
3
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
|
K
|
||||||
|
V
|
||||||
|
n
|
||||||
|
n
|
||||||
|
2
|
||||||
|
i
|
||||||
|
26
|
||||||
|
TABLE
|
||||||
|
2
|
||||||
k
|
k
|
||||||
v
|
v
|
||||||
n
|
n
|
||||||
|
|
@ -517,6 +563,28 @@ s
|
||||||
e
|
e
|
||||||
s
|
s
|
||||||
getvar[deathCount]==1
|
getvar[deathCount]==1
|
||||||
|
i
|
||||||
|
21
|
||||||
|
TABLE
|
||||||
|
2
|
||||||
|
K
|
||||||
|
V
|
||||||
|
n
|
||||||
|
n
|
||||||
|
1
|
||||||
|
i
|
||||||
|
26
|
||||||
|
TABLE
|
||||||
|
2
|
||||||
|
k
|
||||||
|
v
|
||||||
|
n
|
||||||
|
n
|
||||||
|
1
|
||||||
|
s
|
||||||
|
e
|
||||||
|
s
|
||||||
|
getvar[deathClock]
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
K
|
K
|
||||||
|
|
@ -622,7 +690,7 @@ n
|
||||||
i
|
i
|
||||||
2
|
2
|
||||||
s
|
s
|
||||||
/f deathClock stoppped
|
/f deathClock stopped
|
||||||
i
|
i
|
||||||
7
|
7
|
||||||
TABLE
|
TABLE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue