Hello what's action code to leave at x level?
Corrected:
Code:local MinLevel = 8 if ($level >= MinLevel) then gotolabel('Leave') else gotolabel('Hunt') end
Hello what's action code to leave at x level?
Corrected:
Code:local MinLevel = 8 if ($level >= MinLevel) then gotolabel('Leave') else gotolabel('Hunt') end
Last edited by Benya; 10-08-2015 at 01:56 PM.
That's is right, but keep in mind that:
- if the label is on the same waypoint section your bot is currently in, it will get stuck on that label, because the condition will be always true
- it is missing a "end" on your code
a better solution would be making a new waypoint section for Leaving and add this code:
auto(1000)
if $level >= 8 and $wptsection == 'Hunt' then
gotolabel(0, 'Leave')
end
Level Latest Scripts by Dehan 250+ [EK & ED & MS & RP] [Navigation] Prison -1200+ [EK & ED & MS] [Navigation] Asura Palace200+ [EK & ED] [Navigation] Lower Roshamuul Softcore
I just wanted to add it to waypoints
i made it like this ->
Also, what is the action code for buying energy ring from market?local MinLevel = 8
if ($level >= MinLevel) then gotolabel('Leave')
else gotolabel('Hunt')
end
And code for editing a label for parcels then put labels in parcel?