Could you give me a simple script that I can use to redirect a the user using it to a specific server. For example the server I want is irc.server.com and when a user using my script type /server irc.another-server.com, it connects him to irc.server.com.
Well I have my reasons And don't get me wrong ! It is not to make my server full of clients or something like that... Just I need help with this one... pLz
well yes this is one way to solve the problem but it is not what I am looking for even with this if I add server to the servers.ini and hit the Connect button of mIRC it will not redirect me...
try changing what the server alias means by defualt like alias server server yourirc.server.net
that way whenever they type /server blah blah blah it automatically tosses out thier cerver to connect to name and goes right to urs ..... that may just do what ur looking for ... if not sorry for the interruption
I wrote a full script that can work well with most IRCd's though, while there's no actual limit, it is specifically made for one network. I think it's a good concept.
;When you connect... on *:connect: { ;if the server you are on is irc.server.com then change to irc.server.com if ($server == irc.server.com) { /server irc.server.com } ;Otherwise connect to irc.server.com else { /server irc.server.com } }
so this would put you into a continuous loop: forever connecting to irc.server.com, disconnecting and connecting again