diff --git a/af/vr_helper.af b/af/vr_helper.af index 9e086c5..62a014d 100644 --- a/af/vr_helper.af +++ b/af/vr_helper.af @@ -56,8 +56,8 @@ STATE: {Default} ChatCapture {^(?[A-Za-z][A-Za-z0-9 ]*) gives you (?[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 Notes"]]} - ChatExpr {"/tell " + getvar[who] + " I now have " + getvar[noteCount] + "/60,000 Promissory Notes in my backpack."} + DoExpr {setvar[noteCount, "" + getitemcountininventorybyname["Promissory Notes"]]} + ChatExpr {`/tell ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 Promissory Notes in my backpack.`} IF: All ItemCountLE 10 {Gem of Knowledge} diff --git a/met/vr_helper.met b/met/vr_helper.met index 2f1e604..f713b6b 100644 --- a/met/vr_helper.met +++ b/met/vr_helper.met @@ -214,7 +214,7 @@ n s e s -setvar[noteCount, getitemcountininventorybyname["Promissory Notes"]] +setvar[noteCount, "" + getitemcountininventorybyname["Promissory Notes"]] i 8 TABLE @@ -227,7 +227,7 @@ n s e s -"/tell " + getvar[who] + " I now have " + getvar[noteCount] + "/60,000 Promissory Notes in my backpack." +`/tell ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 Promissory Notes in my backpack.` s Default i