Hello, I'm not sure what my problem is with this paticular subroutine, but it won't call at all from my prompt plugin.
I think the problem lies with the Subroutine itself?
Any suggestions?
I think the problem lies with the Subroutine itself?
Quote:
Dim maxhealth, maxmana, curhealth, curmana, autosip
Dim prevhealth, prevmana, health_mana_override, automoss
Sub Auto_Sipping
If AutoSip = 1 & drinkbalance = 1 then
world.note "auto sip is on same with drink balance"
If health_mana_override = "health" then
world.note "health mana override for health"
If curHealth < (.85 * maxHealth) then
Drink_Health
ElseIf curMana < (.85 * maxMana) then
World.Note "Gotta sip mana"
Drink_Mana
End If
ElseIf health_mana_override = "mana" then
If curMana < (.85 * maxMana) then
Drink_Mana
ElseIf curHealth < (.85 * maxHealth) then
Drink_Health
End If
End If
End If
'If AutoMoss = 1 & mossbalance = 1 then
' If curHealth < (.75 * maxHealth) or curMana < (.75 * maxMana) then
' Eat_Moss
' End If
' End If
End SubAny suggestions?