mIRC Home    About    Download    Register    News    Help

Print Thread
script between 2 servers? #100882 18/10/04 01:43 AM
Joined: Sep 2004
Posts: 85
G
Gameaddix Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
can you make a script to where if something happens on one server, it affects something on another server, lets say the topic is changed on server irc.test.com (channel #test), it will also change the topic to the same thing on irc.test.net (channel #test). i was wondering if it could be done, and if so, how?(without linked servers)

Re: script between 2 servers? #100883 18/10/04 06:59 AM
Joined: Oct 2004
Posts: 2
O
ouden Offline
Bowl of petunias
Offline
Bowl of petunias
O
Joined: Oct 2004
Posts: 2
i say it could be done with a client connect to server A and server B

all it would need to do is monitor events in Channel X on each server and then execute them between.

this means the user must be an op, but that goes w/out saying


Re: script between 2 servers? #100884 18/10/04 10:26 AM
Joined: Sep 2004
Posts: 85
G
Gameaddix Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
i cant figure out how to execute a command on one server if something happens on another server, if anyone could help i'd be thankful.

Re: script between 2 servers? #100885 18/10/04 11:59 AM
Joined: Aug 2004
Posts: 101
D
dr_Eamer Offline
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
/help Multi-Server
You can use the /scid or /scon commands.

Eg. If you only have two servers and something happens to server 1 then you can do:
/scon 2 echo -s Something happened on server 1!


Maybe I wake up one day to notice that all my life was just a dream!
Re: script between 2 servers? #100886 18/10/04 09:04 PM
Joined: Sep 2004
Posts: 85
G
Gameaddix Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
that helped. thx