This commit is contained in:
parent
d5d474a88c
commit
36eafcacf9
2 changed files with 4 additions and 32 deletions
|
|
@ -58,10 +58,8 @@ STATE: {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 you for the `+getvar[capturegroup_amount]+` Promissory Notes`}
|
||||
DoExpr {setvar[noteCount, "" + getitemcountininventorybyname["Promissory Note"]]}
|
||||
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]+`, 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)`}
|
||||
IF: All
|
||||
ItemCountGE 60000 {Promissory Note}
|
||||
DO: DoAll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue