Hello, anyone can help me?
Im doing a script that place are 4 floors and i need do a action will check the $posz then go to stair for up and on this action continue check the $posz for up again until leave cave
Is that clear?
An example:
local MPLEAVE = getuseroption("minmana")
local MPMANE = getuseroption("mananame")
local HPLEAVE = getuseroption("minhp")
local HPNAME = getuseroption("hpname")
local CAP = getuseroption("mincap")
if $wptsection == 'HUNT' and $posz == 8 then
if itemcount(MPNAME) < tonumber(MPLEAVE) or itemcount(HPNAME) < tonumber(HPLEAVE) or $cap < tonumber(CAP)
then
gotolabel('LEAVE')
elseif $posz == 9 then
gotolabel('UPSTAIRS')
elseif $posz == 10 then
gotolabel('UPAGAIN')
end
Thats possible?
thanks in advance