09-17-2021, 04:30 PM
Drop fish if no cap
This script will drop all items from list if cap below 50.
This script will drop all items from list if cap below 50.
keywords: drop fish, drop no cap
This script will drop all items from list if cap below 50.
local ITEMS_DROP = { 'fish' } -- items to drop
local CAPACITY = 50 -- Cap to drop items.
if cap() <= CAPACITY then
dropitems(table.unpack(ITEMS_DROP))
end
This script will drop all items from list if cap below 50.
local ITEMS_DROP = { 'fish' } -- items to drop
local CAPACITY = 50 -- Cap to drop items.
if cap() <= CAPACITY then
for _, item in ipairs(ITEMS_DROP) do
if itemcount(item) > 0 then
moveitems(item, ground(posx(), posy(), posz()), '', 100)
wait(400, 800)
end
end
end
keywords: drop fish, drop no cap