Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macro(1000, "refill arrows", function(macro)
- if getAmmo() == nil then
- local arrows = findItem(23912) -- ID DAS ARROWS
- if arrows then
- moveToSlot(arrows, SlotAmmo, arrows:getCount()) -- the arrows was found move them to ammo slot
- return -- arrows was found and moved end the cycle.
- end
- -- if the script reach this point the arrows wasn't found on any of player backpacks.
- macro.setOff() -- disable the macro since we didn't find any arrows
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement