share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sat, 09 Apr 2016 08:00:53 +0200
changeset 12002 6a67e76d0f1d
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Better naming and explanation of tagging mode and advanced repositioning mode

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