Proxy Connect v2.0 by sprion

v1.0 Made on 29th November 2003
v2.0 Made on 29th July 2004
Released 29th July 2004

--------------------------

######################
]What?
######################

This addon allows you to connect to IRC via a list of proxy
(HTTP, SOCKS4, SOCKS5)


######################
]How?
######################

1. You provide a list of proxies 

2. It parses them and connects to a specified irc server after testing
the proxies' reaction time and validity (timeout)


######################
]Usage:
######################

1. Uncheck "Enable connect retry" from mIRC Options > Connect > Options

2. Load the script file - "/load -rs sxProxyConnect.mrc"

3. Begin - "/pc.dialog"
   *OR*
	/pc.connect" - for command line version
	You will be introduced to the command.

---------------
Usage: '/pc.connect [-mh45] <server> <timeoutinsecs>'
More: m - new server window, h - HTTP, 4 - SOCKS4, 5 - SOCKS5, specifies the types to use.
---------------

	parameters include -m, -h, -4, -5 or all of them or part?

	(-m4h5 or -mh54 whichever is more sexy to you, i prefer
	-m45h cos' it looks like mash and mash is my dog's name and
	i could continue writing this and make you waste ye time reading)

	-m
		makes the connection a new multi server connection, you know
		what i'm talking about

	-h
		connect using HTTP proxies in your list.

	-4
		connect using SOCKS4 proxies in your list.

	-5
		connect using SOCKS5 proxies in your list.

*Note: use -h45 to connect using all the 3 types. Some servers
however, checks for open proxies, so HTTP proxies are easily
detected..

	<server>
		the irc server you wanna connect to

	<timeoutvalue>
		The time to wait before connecting and the time to judge
		good or bad responding proxies (i.e. specify 10 s if you
		want to start your connection to irc in 10 s, used to see
		which proxies responded within this time)


######################
]More
######################

A proxy_tested.txt is generated for you to see which proxies
responded within your specified timeout.



######################
]FAQ:
######################

Q. How do I provide the proxy list?
A. Read below.

Q. It says proxy.txt is missing when I try to use it, why?
A. If it says it's missing, it's missing! Dun ask why.
   Well, make sure the proxy.txt is in your addon's folder (where
   sxProxyConnect.mrc is)

Q. This addon sucks, why?
A. Cos' family thinks the same bout each other.

Q. This addon can be further improved yea?
A. Yes. There is a known issue with "on 1:connectfail:" event. It only
   takes place when you finished your RETRIES. 

   This is why you need to disable "Enable connect retry".

   If you have a better way of fixing this problem, please let me know.

######################
]Proxy list example: (proxy.txt)
######################

[http]
akro-real.customer.vol.cz:80 
ab-sokolska.casablanca.cz:3128 
gw.oanachod.cz:3128 
ns.nemho.cz:3128 
olympik.casablanca.cz:3128 
ykhe2-215.2wcm.comporium.net:3128 
211.34.121.65:3128 
61.8.153.34:3128 
farejador.ig.com.br:80 
194.249.174.250:3128 

[socks4]
61.153.225.250:1080 
24.126.255.252:1029 
211.98.239.162:1080 
24.27.205.156:3381 
68.114.248.197:1033 

[socks5]
61.153.62.82:1813 
61.153.225.250:1080 
24.126.255.252:1029 
68.57.239.69:3801 
61.35.223.200:1978 


######################
]How to swear
######################

Write to me at sprion@lyniq.com - comments, features request etc.