answer how many gems you have
All checks were successful
/ test (push) Successful in 21s

This commit is contained in:
Johan Lundberg 2026-09-27 00:20:53 +02:00
parent 3c1f2676f1
commit 8aa6011d9a
2 changed files with 60 additions and 1 deletions

View file

@ -61,6 +61,11 @@ STATE: {Default}
ChatExpr {\/t +getvar[capturegroup_who]+`, Thank you for the `+getvar[capturegroup_amount]+` Promissory Notes`} ChatExpr {\/t +getvar[capturegroup_who]+`, Thank you for the `+getvar[capturegroup_amount]+` Promissory Notes`}
ChatExpr {`/t ` + getvar[capturegroup_who] + `, I now have ` + getitemcountininventorybyname[`Promissory Note`] + `/30000 in my backpack.`} ChatExpr {`/t ` + getvar[capturegroup_who] + `, I now have ` + getitemcountininventorybyname[`Promissory Note`] + `/30000 in my backpack.`}
SetState {Default} SetState {Default}
IF: All
ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, \"gems"$} {}
DO: DoAll
ChatExpr {`/t ` + getvar[capturegroup_who] + `, I have ` + getitemcountininventorybyname[`Gem of Knowledge`] + ` in my backpack.`}
SetState {Default}
IF: All IF: All
ItemCountGE 30000 {Promissory Note} ItemCountGE 30000 {Promissory Note}
DO: DoAll DO: DoAll

View file

@ -11,7 +11,7 @@ n
n n
n n
n n
24 25
i i
1 1
i i
@ -252,6 +252,60 @@ n
n n
1 1
i i
28
TABLE
2
k
v
n
n
2
s
p
s
(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, \"gems"$
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] + `, I have ` + getitemcountininventorybyname[`Gem of Knowledge`] + ` in my backpack.`
i
1
s
Default
s
Default
i
2
i
3
TABLE
2
K
V
n
n
1
i
12 12
TABLE TABLE
2 2