I done the first bit for you:
With the second bit do you want it to explode a radius or just the person using it...?
function onUse(cid, item, frompos, item2, topos)
----------------------------------------------------------------------------
local time = {
useCooldown = true, -- True...