Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
361 B
3
Indexable
Never
macro(100, "Catar ITEM", function()
local z = posz()
for _, tile in ipairs(g_map.getTiles(z)) do
if z ~= posz() then return end
if getDistanceBetween(pos(), tile:getPosition()) <= 5 then
if tile:getTopLookThing():getId() == 3043 then
g_game.move(tile:getTopLookThing(), {x = 65535, y=SlotBack, z=0}, tile:getTopLookThing():getCount())
end
end
end
end)
Leave a Comment