share/hedgewars/Data/Scripts/Params.lua
author alfadur <mail@none>
Sat, 28 Dec 2019 19:41:05 +0300
changeset 15533 0606f89698e7
parent 9985 42cd42e44c9a
permissions -rw-r--r--
check the room passwords

-- Library for parameters handling

params = {}

function parseParams()
    if ScriptParam ~= nil then
        for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
            params[k] = v
        end
    end
end