Posted: 15 May 2006 01:05 Subject: once again I ask for help....
sub OnSipper
dim health, mana, bal, aeon, stunned, anorexia
health = world.getvariable ("cur_health")
mana = world.getvariable ("cur_mana")
bal = world.getvariable ("hm_bal")
aeon = world.getvariable ("affliction_aeon")
stunned = world.getvariable ("stunned")
anorexia = world.getvariable ("affliction_anorexia")
if bal = "on" then
if aeon = "off" then
if anorexia = "off" then
if stunned = "off" then
if health = "on" then
world.send "drink health"
elseif mana = "on" then
world.send "drink mana"
end if
end if
end if
end if
end if
end sub
ok, it keeps telling me i dont have the right amount of arguments in this... it wants three. and pointers?