Trying to send an alias to the world when health is low...
i changed the send part so there are no other alis/trigs like it.. still spams / loops over and over.. when i comment out the send.. it works fine.
i changed the send part so there are no other alis/trigs like it.. still spams / loops over and over.. when i comment out the send.. it works fine.
<triggers>
<trigger
enabled="y"
expand_variables="y"
group="PROMPT"
keep_evaluating="y"
match="^H\: (.*?)\/(.*?) S\: (.*?)\/(.*?) Favors\: (.*?)\/(.*?)$"
name="HPmon2"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send> hp = %1
maxhp=%2
stm=%3
maxstm=%4
favor=%5
maxfavor=%6
-- Step #2: Info bar.
-- Step #2A: Basic setup + HP monitor.
ShowInfoBar (Visible)
InfoClear ()
InfoBackground ("black")
InfoFont ("FixedSys", 9, 0)
InfoColour ("lime")
if (hp < (maxhp / 2) ) then
InfoColour ("red")
end
Info ("HP: ", hp, "/", maxhp)
-- Step 2B: FTG monitor.
InfoColour ("lime")
if (stm < (maxstm / 2) ) then
InfoColour ("red")
end
Info (" Stm: ", stm, "/", maxstm)
-- Step 2C: Favor monitor
InfoColour ("lime")
if (favor < (maxfavor / 2) ) then
InfoColour ("red")
end
Info (" Favor: ", favor, "/", maxfavor)
if (hp < (maxhp / 2) ) then
-- Send ("lowHPZ") -- ***** loops from here?
ColourNote ("white", "blue", "LOW F@CKING HP!")
end
</send>
</trigger>
</triggers>