setPlayerStorageValue(cid, 21005, 1)
getPlayerStorageValue(cid, 21005)
setPlayerStorageValue(cid, 21005, getPlayerStorageValue(cid, 21005) + 1)
thank you but my idea seems unscriptable, what I wanted to do was to make a quest to visit all the cities (by pulling a lever in each city temple) but I did it a different way so its alright, thanks though
setPlayerStorageValue(cid, 21005, math.max(1,getPlayerStorageValue(cid,21005)+1))