share/hedgewars/Data/Scripts/Params.lua
author koda
Wed, 22 Jan 2014 00:37:43 +0100
changeset 10047 ed59a6c046b9
parent 9985 42cd42e44c9a
permissions -rw-r--r--
more scripts found by sheepluva

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