You can just make a new function, and put it in any of the Add-Ons script files, as long as you have them ticked in the server startup bit:
function speak(%text)
{
messageAll('', '<color:FFFF00>%1', %text);
}
Then type into the console: speak("Hello");