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]}
Chat {/a [Encapsulated Spirit] Encapsulated Spirit request fulfilled.}
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
ItemCountLE 10 {Gem of Knowledge}
SecsInStateGE 60