I've been working with mIRC script for a while now, and I am interested in trying to learn how to use sockets to fetch information from the web. In particular, I have a project: The script needs to go to a colony page and grab the military units.
Every colony url ends with numbers, IE http://www.lunarwars.net/profile.php?lookup=833
So, say, I typed !units 833
and the script would open http://www.lunarwars.net/profile.php?lookup=
Then it would go down to the military units, get them, and read them off to the channel, IE:
Military Strength 68,523
Ground Assault 500
Orbital Fighters 403
Long Range Missiles 0
Nuclear Arsenal 0
I would like to learn how to do this myself, and I would appreciate it if ;documentation could be included.