share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sun, 16 Apr 2017 04:49:05 +0200
changeset 12268 2eedf9e0cd6d
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Replace some HTTP links with HTTPS links Don't worry, I have tested all the 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