hi jorge can u help with private message
i have done my simpleconnection chatroom and i want to create a private message.
can u help me out.
will the code below work in simple connection.
application.onConnect = function(newClient, name) {
// Give this new client the same name as the user name
newClient.name=name;
newClient.id=this.clientID;
// Accept the new client's connection
application.acceptConnection(newClient);
//send unique ID
newClient.call("setID", false, this.clientID)
//Make a reference
this.clients[this.clientID] = this.newClient;
this.clientID++
}
