function globalMessage ( thePlayer, cmd, ... )
if ( not isPlayerMuted ( thePlayer ) ) then
local message = table.concat ( { ... }, " " )
local name = getPlayerName ( thePlayer )
outputChatBox ( "#a22222Global|#FFFFFF".. name ..": #aaaaaa".. message, getRootElement(), 255, 255, 255, true )
else
outputChatBox ( "You're muted!", thePlayer, 255, 0, 0 )
end
end
addCommandHandler ( "Global", globalMessage )