I have wrote out some code to connect to a server but i cannot get the script to be on the look out for incoming messages and be able to send them. The code also changes the