function onUse(cid, item, fromPosition, itemEx, toPosition)
local config = {
[2088] = {action = 2088, storage = 2444},
[2091] = {action = 2091, storage = 4002},
[2087] = {action = 2087, storage = 4003},
[2092] = {action = 2092, storage = 4004},
[2086] = {action = 2086, storage = 4005}
}
local action = config[item.aid].action
local storage = config[item.aid].storage
local chest = itemEx.actionid == 5868
if chest and item.actionid == action then
doPlayerSendCancel(cid, "OK" ..storage )
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid, "NOK")
end
return true
end