function onSay(player, words, param) if player:getGroup():getId() < 3 then return false end local t = param:splitTrimmed(" ") if(not t[1]) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") return false end if(not t[2]) then if Game.getStorageValue(tonumber(t[1])) == nil then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "GlobalStorage [ " ..t[1].. " ] = nil") else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "GlobalStorage [ " ..t[1].. " ] = " ..Game.getStorageValue(tonumber(t[1]))) end else local value = tonumber(t[2]) if t[2] == "nil" then value = nil end Game.setStorageValue(tonumber(t[1]), value) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "GlobalStorage " ..t[1].. " mudada para (" ..t[2].. ")") end return false end