mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2019
Posts: 3
N
natali Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Aug 2019
Posts: 3
hi,

how can I assign different proxies for different server windows?

Code
on *:START:{
  proxy -m5+d on 127.0.0.1:9001
  server -m irc.test.org:+7000 -i test test @test .it test -jn #test1,#test2

;;;;;; how to change proxy here?
  server -m irc.test22.net -i joe joe joe @joe.cc joe  -jn #joe1 ,#joe2 

}


Joined: Aug 2019
Posts: 3
N
natali Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Aug 2019
Posts: 3
So far I have only been able to do this using timer. But it works only until connection is lost which is unusable for me.
so is it not possible for each server window to has its own dedicated proxy settings?

Last edited by natali; 01/09/19 06:44 AM.
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Just use the /proxy command again before issuing a /server


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Aug 2019
Posts: 3
N
natali Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Aug 2019
Posts: 3
and what during random connection lost?

Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Then you're in troubles.

Better handling for proxies per connection have been requested, over the years (in general, better handling of anything per connections has been asked here and there)

In this thread: https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/257652/ it has been pointed out that during disconnection it is indeed not going to work automatically, but it's all scriptable with /proxy and disconnect event using $cid, not so trivial but doable.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard