Hi, I'm trying to drop conjured bolts on a tile when the stack reaches 100. I found this script using search, but it drags the bolts every time I conjure them and looks very bot-like.
How do I change this so it won't move the bolts until it sees a 100 stack?
I tried this also but still nothing
How do I change this so it won't move the bolts until it sees a 100 stack?
local MIN_CAP = 100 -- Minimum cap to go drop item on location.
local ITEM = 'bolt' -- Item to drop on location.
local MAX_COUNT = 100 -- Maximum item count to go drop item on location.
local POSITION_DROP = { X = 123, Y = 123, Z = 7 } -- Location to drop item.
if cap() <= MIN_CAP or itemcount(ITEM) >= MAX_COUNT then
moveitems(ITEM, ground(POSITION_DROP.X, POSITION_DROP.Y, POSITION_DROP.Z), '', 100)
end
I tried this also but still nothing
local MIN_CAP = 100 -- Minimum cap to go drop item on location.
local ITEM = 'bolt' -- Item to drop on location.
local COUNT = 100 -- Maximum item count to go drop item on location.
local POSITION_DROP = { X = 123, Y = 123, Z = 7 } -- Location to drop item.
if cap() <= MIN_CAP or itemcount(ITEM) >= COUNT then
moveitems(ITEM, ground(POSITION_DROP.X, POSITION_DROP.Y, POSITION_DROP.Z), '', 100)
end