share/hedgewars/Data/Scripts/Params.lua
author nemo
Tue, 21 Jun 2016 15:37:08 -0400
changeset 11839 16d6da04f7a2
parent 9985 42cd42e44c9a
permissions -rw-r--r--
no.

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