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] + `, I now have ` + getitemcountininventorybyname[`Promissory Note`] + `/30000 in my backpack.`}
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
ItemCountGE 30000 {Promissory Note}
DO: DoAll