Code:
local itemID = 6119 -- The ID of the item that will give you EXP
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID then
doSummonCreature(training monk , pos)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry, you can't summon this monster.")
end
return 1
end