share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Mon, 16 Jun 2014 19:07:11 +0200
changeset 10315 d464a04450cc
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Qt-Frontend: update description of findhh to better reflect current behavior. thanks to the friendly reminder in issue #805

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