!7 sclass ConnectToServer extends DynBigNumber { DialogIO io; void cleanMeUp { if (io != null) io.close(); } void start { super.start(); thread "Connect" { io = talkTo("smartbot.botcompany.de", 6000); io.send(format("computerID=*", computerID())); S line; while ((line = io.readLine()) != null) { print("Have msg: " + s); if (isInteger(line)) setValue(line); } } } }