share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Fri, 21 Feb 2014 13:31:16 +0400
changeset 10149 017ca6054845
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Official challenge map #3 by 1937barcelona

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