wtf
It's called psuedo-code. He knows the logic of what he wants to do, but he doesn't know exactly how do obtain the variables needed
clientgroup.getobject(%i).clientCmdRecieveFromPrivateC hat(%text);
This would be:
commandtoclient(clientgroup.getobject(%i),'RecieveFromPrivateChat',%text);
Or just get rid of the loop completely and you can do:
commandToAll('RecieveFromPrivateChat',%text);
Though it's not much of a private chat if you send it to every client in the server.
Honestly though I'd just wait for RTB4 and use the chat rooms