share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Mon, 08 Sep 2014 18:53:34 +0200
changeset 10407 012bb4b63117
parent 9985 42cd42e44c9a
permissions -rw-r--r--
mention the hwplay:// thing in --help

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