local tiles = g_map.getTiles()
for i = 1, #tiles do
local tile = tiles[i]
if tile:getPosition():getDistance(g_game.getLocalPlayer():getPosition()) == 1 then
local topItem = tile:getTopItem()
if topItem and topItem:getId() == 15710 then
g_game.useMapItem(tile:getPosition())
sleep(250)
break
end
end
end
auto(100)