mIRC Home    About    Download    Register    News    Help

Print Thread
#23676 11/05/03 09:13 AM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
Evertything works fine but only in the window where is typed
/proxylaunch i want to have it in the new server window (server -n)


; [Proxy Launcher by Dragon] ;
; [© 2000/2010 Enjoy];

alias proxylaunch {
set %.server $2
set %.times $1
set %.proxy 0
set %.nickc 0
:start
inc %.nickc 1
set %.nick $read(nick.txt, %.nickc)
nick %.nick
inc %.proxy 1
set %useproxy $read(proxy.txt, %.proxy)
server -n
firewall on %useproxy
server %.server
if (%.proxy == %.times) {
unset %.proxy
unset %.nickc
Halt }
Else { goto start }
}

#23677 11/05/03 09:29 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
alias proxylaunch {
set %.server $2
set %.times $1
set %.proxy 0
set %.nickc 0
:start
inc %.nickc 1
set %.nick $read(nick.txt, %.nickc)
nick %.nick
inc %.proxy 1
set %useproxy $read(proxy.txt, %.proxy)
server -n
firewall on %useproxy
scon $scon(0) server %.server
if (%.proxy == %.times) {
unset %.proxy
unset %.nickc
Halt }
Else { goto start }
}


#23678 11/05/03 09:37 AM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
thats working thank you

and how do you do that if the proxy is not connected in 15 sec close server window?
and try new one

Last edited by Terror_Vdb; 11/05/03 09:40 AM.
#23679 11/05/03 10:12 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
alias proxylaunch {
set %.server $2
set %.times $1
set %.proxy 0
set %.nickc 0
:start
inc %.nickc 1
set %.nick $read(nick.txt, %.nickc)
nick %.nick
inc %.proxy 1
set %useproxy $read(proxy.txt, %.proxy)
server -n
firewall on %useproxy
scon $scon(0) server %.server
var %x = $scon($scon(0)).cid
.timer 1 15 if (!$scid( %x ).server) scid %x /window -c "status window"
if (%.proxy == %.times) {
unset %.proxy
unset %.nickc
Halt }
Else { goto start }
}




Last edited by ScatMan; 11/05/03 10:29 AM.
#23680 11/05/03 10:26 AM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
ty

#23681 11/05/03 10:33 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
well i have edited that again so copy the new one..

#23682 11/05/03 10:38 AM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
it doesnt work i hadnt tested it yet but now i have it like this:

; [Proxy Launcher by Dragon] ;
; [© 2000/2010 Enjoy];

alias proxylaunch {
set %.server $2
set %.times $1
set %.proxy 0
set %.nickc 0
:start
inc %.nickc 1
set %.nick $read(nick.txt, %.nickc)
inc %.proxy 1
set %useproxy $read(proxy.txt, %.proxy)
server -n
scon $scon(0) firewall on %useproxy
scon $scon(0) server %.server
scon $scon(0) nick %.nick
if (%.proxy == %.times) {
unset %.proxy
unset %.nickc
Halt }
Else { goto start }
}

#23683 11/05/03 11:24 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
well it should,
and put the .timer part in the code i showed u

#23684 11/05/03 05:44 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
another question how to do the same thing with a sock4 prot 1080 instead of a proxy prot 3128


Link Copied to Clipboard