diff --git a/af/vr_helper.af b/af/vr_helper.af index eca35bd..fe75324 100644 --- a/af/vr_helper.af +++ b/af/vr_helper.af @@ -61,6 +61,11 @@ STATE: {Default} 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`] + `/30000 in my backpack.`} SetState {Default} + IF: All + ChatCapture {(^(\[[A-z]+?\] |)You|.*\[^\<]*)\>.+\<\\Tell\>) .*, \"gems"$} {} + DO: DoAll + ChatExpr {`/t ` + getvar[capturegroup_who] + `, I have ` + getitemcountininventorybyname[`Gem of Knowledge`] + ` in my backpack.`} + SetState {Default} IF: All ItemCountGE 30000 {Promissory Note} DO: DoAll diff --git a/met/vr_helper.met b/met/vr_helper.met index 9b3383d..c46fe4a 100644 --- a/met/vr_helper.met +++ b/met/vr_helper.met @@ -11,7 +11,7 @@ n n n n -24 +25 i 1 i @@ -252,6 +252,60 @@ n n 1 i +28 +TABLE +2 +k +v +n +n +2 +s +p +s +(^(\[[A-z]+?\] |)You|.*\[^\<]*)\>.+\<\\Tell\>) .*, \"gems"$ +s +c +s + +TABLE +2 +K +V +n +n +2 +i +8 +TABLE +2 +k +v +n +n +1 +s +e +s +`/t ` + getvar[capturegroup_who] + `, I have ` + getitemcountininventorybyname[`Gem of Knowledge`] + ` in my backpack.` +i +1 +s +Default +s +Default +i +2 +i +3 +TABLE +2 +K +V +n +n +1 +i 12 TABLE 2