1. clientCmds are commands that the server can tell the client to call, to tell them to do something. There isn't a ton of use for calling them manually
2. clientCmdChatMessage is the command for your client recieving a message
3. The command to send a chat message to the server is commandtoserver('messagesent','Your text here'); However...
4. slash commands are interpreted by the client, and turned into a commandtoserver call. "/deposit 99999" becomes commandtoserver('deposit','99999');
You'd want to do something like this
$remapDivision[$remapCount] = "AutoType";
$remapName[$remapCount] = "Deposit 99999";
$remapCmd[$remapCount] = "quickDeposit";
$remapCount++;
function quickDeposit()
{
commandtoserver('deposit',99999);
}