Ah. How would i make it so i could talk through the bot like this /bottalk Hello!
Well, when using functions, they can pass up to 20 arguments. In this case, you are using a serverCmd (a /command), and the first argument is the client that typed the command. When you want to do something like "/bottalk Hello this is MattBot", or something like that, each word is taken as an argument. For example:
function serverCmdbotTalk(%client, %a0, %a1, %a2, %a3)
{
%args = %a0 SPC %a1 SPC %a2 SPC %a3; // SPC means "space" - so here, it's %a0 %a1 %a2 %a3
messageAll('', %args); //message everyone in the server what you typed
}
That was just an example, and as stated above, you can have way more arguments.