Although this is an old post.. figured I might put my 2 cents in and try and suggest an easier way for you, Natasi (if, you ever ready this post hehe)
What you might want to try, because when you are healing completely via script, is to keep all your variables scripted, instead of client side variables.
For instance,
Dim aeon
Dim paralyse
Sub Aeon_Log (name, output, wildcard)
aeon = 1 ' 1 = true, which means you have aeon
End Sub
Sub Aeon_cure (name, output, wildcard)
aeon = 0 ' 0 = false, which means you don't have aeon
End Sub
Sub Paralyse_Log (name, output, wildcard)
paralyse = 1
End Sub
Sub Paralyse_Cure (name, output, wildcard)
paralyse = 0
End Sub
Sub Heal_me (name, output, wildcard)
If aeon = 1 then ' if you have aeon then..
World.send "smoke pipe" ' to cure aeon
Elseif paralyse = 1 then ' If you don't have aeon,
' but have paralysis then:
World.Send "eat bloodroot" ' to cure paralyse
End If
End Sub
In my opinion, a lot better, or atleast easier to understand than case statements.
I may be wrong though! |