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")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("deposit all")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("yes")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("withdraw 200")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("yes")
- sleep(math.random(1000, 2000))
- elseif (labelName == "boat") then
- Self.Say("hi")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("passage")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("yes")
- sleep(math.random(1000, 2000))
- elseif (labelName == "boat2") then
- Self.Say("hi")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("passage")
- sleep(math.random(1000, 2000))
- Self.SayToNpc("yes")
- sleep(math.random(1000, 2000))
- elseif (labelName == "depot") then
- -- itemid or {itemid, depot backpack}
- Self.DepositItems(10291, {9659, 0})
- elseif (Self.ItemCount(268) < 75) then
- -- slot, item1, item2, etc. (item can be a table like {itemid, backpack slot, count} or just itemid)
- Self.WithdrawItems(0, 3502, {268, 1, 3})
- end
- end
- ---???? do these fit???? nope....
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement