Add global function clientside for chat

So plugins can directly add coloured messages.