function onUse(cid, item, frompos, item2, topos)
local value = xxxx -- storagevalue which the player has to have.
if getPlayerStorageValue(cid,value) == TRUE then
-- happens when he has the value
else
-- happens if he doesn't have the value
end
return TRUE
end