Could you have a look at the post I made on your "URGENT HELP PLZ" post ?
I think it explains this , but basically , you need to set up your server and client-side to be able to send AND receive messages
In C2 , checking for received messages is as easy as ;
Websocket - On Message Received
and sending is that easy too ;
Websocket - Send text
NOTE : You'll need to be connected to the server for this to work
You'll need to code the server to be able to receive and send messages
function onMessage ( uid , msg ) -- Called when a user sends a message
-- uid(string): userid of user messaging server
-- msg(string): message received
sendTo ( uid, msg ) -- Send a message to a user by their uid
-- uid(string): userid of who will receive msg
-- msg(string): message to be sent
Scribble Documentation (Clicky Clicky)