I am trying to make a local chat mod. This mod requires me to send chat messages only to specific players. Telnet looks like it is the only way unless I want to make the message appear as popup notifications. I can't find any examples of Telnet clients used in mods. I have found a number of free libraries that I can use, but I have a feeling Telnet isn't supported anymore. This is my attempt at doing this, without much error handling added yet. Can anyone tell me more about how this works, or if I'm missing something?
This is the only TelNet thread I could find, so I thought I'd start here: As OP How to use it? I have setup putty and such and it just says connection refused when I try it. Suggestions? (Telnet client and server are installed on the server and machine I'm trying with, both machines on same LAN) Thanks!