messageClient(%Client,'',"\c6Self Delete is \c0OFF\c6.");
Why is there multiple "
What does "," do?
That's not a ","
It's two 's, then a comma.
the two 's is just an empty tag. In messageclient, that tag is usually used for specific things for the client to recognize.
Things like... 'handleYourDeath', 'msgClientJoin', and 'msgAdminForce'.
The args for Messageclient...
messageclient(GameConnection object (as in a reference to a client), messageType (leave blank for normal message), MessageString, messageargs...);
About messageargs, if you make messageString a tagged string, instead of a normal string ('stuff' instead of "stuff") you can use things like %1 in it. And if you're going to be sending that message often, it's best to make it tagged. If it's something short or not sent often, go ahead and make it normal.
How to use tagged strings in chat messages:
messageClient(%client (This is sometimes different), '' (remember this tag is left blank for a normal message), 'Hello %1. You currently have $%2. Your dog has the name %3.', %client.getPlayerName() (this just get's the client's netname if it's an internet server, lanname if it's a lan or single player server), %client.money, %client.dogsname);
Without all that extra info:
messageClient(%client, '', 'Hello %1. You currently have $%2. Your dog has the name %3.', %client.getPlayerName(), %client.money, %client.dogsname);
For a messageAll, you take out the first arg (the client), and leave the rest. However you cannot reference to something the client has.
messageAll('', 'Hello everyone. The ammount of pineapples on this server is: %1', $Server::Pineapplecount);