local gameidstr = ""
if HasCommandLineArg("/savereplay") then
local url = GetCommandLineArg("/savereplay",1)[1]
local lastpos = string.find(url,"/",20)
gameidstr = "Game: " .. string.sub(url,20,lastpos-1) .. " "
elseif HasCommandLineArg("/replayid") then
gameidstr = "Game: " .. GetCommandLineArg("/replayid",1)[1] .. " "
end
...
group.name = UIUtil.CreateText(group, gameidstr .. data.mapname, 10, UIUtil.bodyFont)
Statistics: Posted by PattogoTehen — 02 Feb 2014, 16:29
Statistics: Posted by PattogoTehen — 17 Dec 2013, 18:02