local itemid = 2177
local pos = {x=1000, y=1000, z=7, stackpos=255}
function onUse(cid, item, fromPos, itemEx, toPos)
local itempos = getThingFromPos(pos)
if itempos.itemid ~= itemid then
return true
end
local i = math.random(100)
if (i <= 10) then
doTransformItem(itempos.uid...