share/hedgewars/Data/Scripts/Params.lua
author nemo
Tue, 18 Sep 2018 19:38:58 -0400
changeset 13790 552f0d5ab3e7
parent 9985 42cd42e44c9a
permissions -rw-r--r--
use locale rules for the challenge hashes

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