share/hedgewars/Data/Scripts/Params.lua
author LocutusOfBorg
Thu, 12 Jan 2017 11:40:28 -0500
changeset 12122 262d24da6fb8
parent 9985 42cd42e44c9a
permissions -rw-r--r--
aaand italian

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