<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. 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) <span class="yshortcuts" id="lw_1233193683_0">Gp</span>: 2300(2300) Xp: 3408892 <span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1233193683_1">Quest</span> Xp: 0 Socp: 168(168)<br><br><br>Trigger:<br><br>^ *Hp:(\d+\)(\d+\) +Gp:(\d+\)(\d+\) +Xp:\d+ Quest Xp:\d+\ +Socp:\d+\(\d+\) *$ <br><br><br>Script:<br><br> @@if tonumber(arg[1]) <= 1500 then<br> drink healing poton<br> @@iftonumber(arg[2]) <= 500 then<br>
drink mana potion<br> @@end<br><br>But this doesn't seem to work. Can someone tell me what I may be doing wrong?<br><br>Dom<br><br></div></div><br>
</body></html>