function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2157 then
if math.random(100) <= 25 then
doPlayerAddItem(cid, 2160, 1)
doPlayerSendTextMessage(cid, 9, "Congratulations!")
else
doPlayerSendTextMessage(cid,9,"Try again!")
end
end
end
?