share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Fri, 06 Oct 2017 16:33:11 +0200
changeset 12658 966124c80861
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Use https links in README files Don't worry, I tested all links

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