say how many proms you have
All checks were successful
/ test (push) Successful in 18s

This commit is contained in:
Johan Lundberg 2026-09-08 20:46:56 +02:00
parent 21e627a189
commit 85c476edbb
2 changed files with 70 additions and 1 deletions

View file

@ -52,6 +52,12 @@ STATE: {Default}
ChatExpr {\/ub give +getvar[capturegroup_num]+` Encapsulated Spirit to `+getvar[capturegroup_who]} ChatExpr {\/ub give +getvar[capturegroup_num]+` Encapsulated Spirit to `+getvar[capturegroup_who]}
Chat {/a [Encapsulated Spirit] Encapsulated Spirit request fulfilled.} Chat {/a [Encapsulated Spirit] Encapsulated Spirit request fulfilled.}
SetState {Default} SetState {Default}
IF: All
ChatCapture {^(?<who>[A-Za-z][A-Za-z0-9 ]*) gives you (?<amount>[0-9,]+) Promissory Notes\.$} {}
DO: DoAll
ChatExpr {\/t +getvar[capturegroup_who]+` Thank for the `+getvar[capturegroup_amount]+` Promissory Notes`}
ChatExpr {\"/tell \" + getvar[who] + \" I now have \" + getitemcountininventorybyname[Promissory Notes] + \"\/60,000 Promissory Notes in my backpack.\"}
IF: All IF: All
ItemCountLE 10 {Gem of Knowledge} ItemCountLE 10 {Gem of Knowledge}
SecsInStateGE 60 SecsInStateGE 60

View file

@ -11,7 +11,7 @@ n
n n
n n
n n
10 11
i i
2 2
i i
@ -164,6 +164,69 @@ K
V V
n n
n n
1
i
28
TABLE
2
k
v
n
n
2
s
p
s
^(?<who>[A-Za-z][A-Za-z0-9 ]*) gives you (?<amount>[0-9,]+) Promissory Notes\.$
s
c
s
TABLE
2
K
V
n
n
2
i
8
TABLE
2
k
v
n
n
1
s
e
s
\/t +getvar[capturegroup_who]+` Thank for the `+getvar[capturegroup_amount]+` Promissory Notes`
i
8
TABLE
2
k
v
n
n
1
s
e
s
\"/tell \" + getvar[who] + \" I now have \" + getitemcountininventorybyname[Promissory Notes] + \"\/60,000 Promissory Notes in my backpack.\"
s
Default
i
2
i
3
TABLE
2
K
V
n
n
2 2
i i
11 11