Change AddTeam/AddMissionTeam to return real team name and index (in that order)
-- Library for parameters handlingparams = {}function parseParams() if ScriptParam ~= nil then for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do params[k] = v end endend