share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Thu, 04 May 2017 03:04:45 +0200
changeset 12395 c98e42601a93
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add 15 main menu tips

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