script is file called "globalchat.zip"
Inside it:
Client Side:
bindKey("X", "down", "chatbox", "Global")
Server side:
function globalMessage(thePlayer, cmd, ...)
local message = table.concat ( { ... }, " " )
local name = getPlayerName(thePlayer)
outputChatBox("#a22222Global|#FFFFFF"..name..": #aaaaaa"..message, getRootElement(), 255, 255, 255, true)
end
addCommandHandler("Global", globalMessage)
~I ask too many questions sorry