You should look up the irc rfc and you do sockopen IRCPROXY ProxyIP ProxyPort when you write to the proxy /sockwrite -n IRCPROXY connect irc.myserver.com then you have to write your user name and nickname and what not thats in the rfc
I already know that one but some one told me that sock4,sock5 and proxy have a different method to connect to irc. and... what is the method? can anyone help..