share/hedgewars/Data/Scripts/Params.lua
changeset 9908 81eb25ddf594
child 9985 42cd42e44c9a
equal deleted inserted replaced
9906:93c16a4b0c6a 9908:81eb25ddf594
       
     1 -- Library for parameters handling
       
     2 
       
     3 params = {}
       
     4 
       
     5 function parseParams()
       
     6     for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
       
     7         params[k] = v
       
     8     end
       
     9 end