share/hedgewars/Data/Scripts/Params.lua
author koda
Sun, 15 Nov 2015 22:17:36 +0100
changeset 11395 10a75af11b4b
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Removed tag 0.9.22-RC

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