function onUse(cid, item, fromPosition, itemEx, toPosition)
local kasa = math.random(1, 30) -- here how many cc you want math.random(from, to)
doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
doSendAnimatedText(fromPosition, "pyk!", TEXTCOLOR_YELLOW)
doPlayerAddItem(cid, 2160, kasa)...