share/hedgewars/Data/Scripts/Params.lua
author Wohlstand
Sun, 19 Jan 2014 00:18:28 +0400
changeset 10014 56d2f2d5aad8
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix checker logon process

-- 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