// starts a comment, so you should be able to figure it out with the comments added on.
function serverCmdShowMessage(%client) //function starts a function, serverCmd makes it a /command
//showMessage makes it /showMessage, and %client is the variable you need for serverCmds
{ //open the function's code block
messageAll('',"Hello world"); //messageAll sends a chat message, '' is the message type (don't change it),
//and "Hello world" is the actual message.
} //end the function
And if you can't read the actual script with all the comments...
function serverCmdShowMessage(%client)
{
messageAll('',"Hello world");
}
Small note, the blank quote in the message all is actually two single quotes (two of '), not one "