Ok, this is what i have now:
towerquest.lua
function onUse(cid, item)
config = { storage = 42222, ch1 = 4050, ch2 = 4051, ch3 = 4052, ch4 = 4053 }
if isInArray({config.ch1,config.ch2,config.ch3,config.ch4}, item.actionid) == TRUE and getPlayerStorageValue(cid, config.storage) ~=...