share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Sat, 16 Jan 2016 19:50:38 +0100
changeset 11517 b3ee79e8e3b9
parent 9985 42cd42e44c9a
permissions -rw-r--r--
find hg revision even if github author name is not the same as hg author (kodabb vs koda)

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