Miscellany
public lua v1 · immutablefunction Msg_OnCommand(player, command, payload, recipient, msg_type) if (command == "*setteam") then local person = g_arena:getPlayer(recipient) for x = 1, table.getn(g_referee) do if (g_referee[x] == player) then -- FOUND HIM! person:team_change("" .. payload .. "","") return true else player:message("You're not in the referee table!") return false end end endend