<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I've been trying to create a trigger that quaffs a
healing or mana potion<br>when my HPS or GPS go below a certain level.&nbsp; Using one of the examples in the archives this is what i came up with:<br><br>My Hp Bar:<br><br>Hp: 4185(4185)&nbsp; <span class="yshortcuts" id="lw_1233193683_0">Gp</span>: 2300(2300)&nbsp; Xp: 3408892&nbsp; <span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1233193683_1">Quest</span> Xp: 0&nbsp; Socp: 168(168)<br><br><br>Trigger:<br><br>^ *Hp:(\d+\)(\d+\) +Gp:(\d+\)(\d+\) +Xp:\d+ Quest Xp:\d+\ +Socp:\d+\(\d+\) *$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br><br>Script:<br><br>&nbsp;&nbsp;&nbsp; @@if tonumber(arg[1]) &lt;= 1500 then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; drink healing poton<br>&nbsp;&nbsp;&nbsp; @@iftonumber(arg[2]) &lt;= 500 then<br>&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; drink mana potion<br>&nbsp;&nbsp;&nbsp; @@end<br><br>But this doesn't seem to work.&nbsp; Can someone tell me what I may be doing wrong?<br><br>Dom<br><br></div></div><br>

      </body></html>