share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Mon, 14 Mar 2016 14:38:23 +0100
changeset 11604 4df32636a4b2
parent 9985 42cd42e44c9a
permissions -rw-r--r--
german translation: fix error due to confusion of plural "you" with singular "you"

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