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

This commit is contained in:
Johan Lundberg 2026-09-08 21:34:38 +02:00
parent 0f401a19a7
commit d5d474a88c
2 changed files with 6 additions and 6 deletions

View file

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

View file

@ -220,7 +220,7 @@ n
s s
e e
s s
\/t +getvar[capturegroup_who]+` Thank you for the `+getvar[capturegroup_amount]+` Promissory Notes` \/t +getvar[capturegroup_who]+`, Thank you for the `+getvar[capturegroup_amount]+` Promissory Notes`
i i
7 7
TABLE TABLE
@ -246,7 +246,7 @@ n
s s
e e
s s
`/t ` + getvar[capturegroup_who] + ` test` `/t ` + getvar[capturegroup_who] + `, test`
i i
8 8
TABLE TABLE
@ -259,7 +259,7 @@ n
s s
e e
s s
`/t ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 in my backpack (via test)` `/t ` + getvar[capturegroup_who] + `, I now have ` + getvar[noteCount] + `/60,000 in my backpack (via test)`
s s
Default Default
i i