Weedpacket wrote:[man]fsockopen[/man] would be one place to start.
I tried something with that a bit earlier.
Let's say for instance I need to connect to the game, and for now we'll say it's IP is 192.168.1.123 and it's running on port 80. I need to send the following commands:
connect Username PWD password
desc Text Here
color ..I"- 8<83!#
And after that, be able to see the server's response