All pastes #340490 Raw Edit

Miscellany

public lua v1 · immutable
·published 2007-02-04 20:34 UTC
rendered paste body
function 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