say how many proms you have, try 6
All checks were successful
/ test (push) Successful in 17s

This commit is contained in:
Johan Lundberg 2026-09-08 21:44:46 +02:00
parent 36eafcacf9
commit d8e8438d86
2 changed files with 8 additions and 3 deletions

View file

@ -59,7 +59,8 @@ STATE: {Default}
ChatCapture {^(?<who>[A-Za-z][A-Za-z0-9 ]*) gives you (?<amount>[0-9,]+) Promissory Notes\.$} {}
DO: DoAll
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`] + `/60,000 in my backpack (via test)`}
ChatExpr {`/t ` + getvar[capturegroup_who] + `, I now have ` + getitemcountininventorybyname[`Promissory Note`] + `/60000 in my backpack.`}
SetState {Default}
IF: All
ItemCountGE 60000 {Promissory Note}
DO: DoAll