diff --git a/af/vr_helper.af b/af/vr_helper.af index d47fad9..6a0663a 100644 --- a/af/vr_helper.af +++ b/af/vr_helper.af @@ -52,6 +52,12 @@ STATE: {Default} ChatExpr {\/ub give +getvar[capturegroup_num]+` Encapsulated Spirit to `+getvar[capturegroup_who]} Chat {/a [Encapsulated Spirit] Encapsulated Spirit request fulfilled.} SetState {Default} + IF: All + ChatCapture {^(?[A-Za-z][A-Za-z0-9 ]*) gives you (?[0-9,]+) Promissory Notes\.$} {} + DO: DoAll + ChatExpr {\/t +getvar[capturegroup_who]+` Thank for the `+getvar[capturegroup_amount]+` Promissory Notes`} + ChatExpr {\"/tell \" + getvar[who] + \" I now have \" + getitemcountininventorybyname[Promissory Notes] + \"\/60,000 Promissory Notes in my backpack.\"} + IF: All ItemCountLE 10 {Gem of Knowledge} SecsInStateGE 60 diff --git a/met/vr_helper.met b/met/vr_helper.met index 7e7dbb0..09c02ec 100644 --- a/met/vr_helper.met +++ b/met/vr_helper.met @@ -11,7 +11,7 @@ n n n n -10 +11 i 2 i @@ -164,6 +164,69 @@ K V n n +1 +i +28 +TABLE +2 +k +v +n +n +2 +s +p +s +^(?[A-Za-z][A-Za-z0-9 ]*) gives you (?[0-9,]+) Promissory Notes\.$ +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]+` Thank for the `+getvar[capturegroup_amount]+` Promissory Notes` +i +8 +TABLE +2 +k +v +n +n +1 +s +e +s +\"/tell \" + getvar[who] + \" I now have \" + getitemcountininventorybyname[Promissory Notes] + \"\/60,000 Promissory Notes in my backpack.\" +s +Default +i +2 +i +3 +TABLE +2 +K +V +n +n 2 i 11