Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
- function onWalkerSelectLabel(labelName)
- if (labelName == "bank") then
- delayWalker(10000)
- Self.Say("hi")
- wait(1000, 2000)
- Self.SayToNpc("deposit all")
- wait(1000, 2000)
- Self.SayToNpc("yes")
- wait(1000, 2000)
- elseif (labelName == "check") then
- delayWalker(10000)
- if (count(268) < 55) then
- gotoLabel("leave")
- else
- gotoLabel("check1")
- end
- elseif (labelName == "check1") then
- delayWalker(10000)
- if (Self.Cap() < 100) then
- gotoLabel("leave")
- else
- gotoLabel("hunt")
- end
- elseif (labelName == "gate") then
- Self.UseItemFromGround(32729, 31199, 5)
- elseif (labelName == "gate2") then
- Self.UseItemFromGround(32734, 31199, 5)
- elseif (labelName == "deposit") then
- Self.DepositItems(7436, 7454, 3415, 7386, 9103, 3428, 8072, 3391, 3318, 5885, {10293, 1}, {10311, 1}, {5894, 1}, {3033, 1}, {3027, 1}, {9662, 1}, {9668, 1}, {9656, 1}, {3052, 2}, {3049, 2})
- elseif (labelName == "withdraw") then
- Self.WithdrawItems(4, 268) -- withdraw manapots from 3rd backpack in depot
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement