• Home
  • Servers
  • Chat
  • Channels
  • Commands
  • Forum
  • FAQ
  • Software
  • Quotes
Topic Options
Rate This Topic
#13 - 08/01/06 01:15 AM Using mIRC on multiple networks
usrbingeek Offline

WyldRyde Staff

Registered: 07/31/06
Posts: 646
Loc: Burlington, VT
This code snippet will allow you to have mirc automatically connect to multiple networks and join different channels on each.

Code:
on 1:start: {
  server irc.wyldryde.org
  server -m irc.example1.com
  server -m irc.example2.com
}
on 1:connect: {
  if ($network == WyldRyde) {
    join #chris,#lockergnome,#help,#usrbingeek
  }
  else if ($network == Example1) {
    join #chan1,#chan2,#chan3
  }
  else if ($network == Example2) {
    join #chan1,#chan2,#chan3
  }
}
on *:NOTICE:*This nickname is registered and protected.*:?: {
  if (($nick == NickServ) && (*.WyldRyde.org iswm $server)) {
    nickserv identify password
  else if (($nick == NickServ) && (*.example1.com iswm $server)) {
    nickserv identify password
  else if (($nick == NickServ) && (*.example2.com iswm $server)) {
    nickserv identify password
  }
}


This code snippet is just a starting point. You'll have to edit this code with the Network names, the channels you want to join and your passwords. You might also have to change the nickserv name.

Some of the script might be obscured by the scroller, make sure you grab the entire script!


Edited by usrbingeek (03/27/08 10:00 PM)
_________________________
WyldRyde IRC Network
Steve Mermelstein
Root Admin

#!/usr/bin/geek
My Amazon.com Wishlist

Please no PMs. Please post to a topic instead so your question(s) may benefit others.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#1449 - 03/29/08 04:44 PM Re: Using mIRC on multiple networks [Re: usrbingeek]
boredcollegekid Offline
newbie

Registered: 12/19/07
Posts: 48
Loc: Tulsa, OK
I assume it is possible to get this script to work with ustream, just never found out how. Always makes me do /pass mypass to login in once it is connected. Any ideas?
_________________________

Top
#1770 - 04/27/08 01:47 PM Re: Using mIRC on multiple networks [Re: boredcollegekid]
TJENN
Unregistered


For some strange reason, this script will not auto identify to the WyldRyde network. I uninstalled the script and copied the above script again and placed all my info in it and it connects to the networks but wont auto ID on WyldRyde. What could be causing this?

Top
#1843 - 04/29/08 11:23 AM Re: Using mIRC on multiple networks [Re: ]
TJENN
Unregistered


Eh, nevermind, I reinstalled mIRC and the script and all is fine now.

Top
#1844 - 04/29/08 12:58 PM Re: Using mIRC on multiple networks [Re: boredcollegekid]
Ryan Offline
Over 50 posts

Registered: 08/20/06
Posts: 76
Loc: USA
Try using
Code:
/server address port password

to connect to a server that requires a password


Edited by Ryan (04/29/08 01:02 PM)
_________________________
Ryan

Please do not PM me for support; the forums are where your answered questions may help others in the future.

Top
#3078 - 09/02/08 01:20 AM Re: Using mIRC on multiple networks [Re: usrbingeek]
iAlex Offline
Over 100 posts

Registered: 09/01/08
Posts: 100
Loc: Kongsvinger, 2209 Norway.
For bot scripters that will have a command transfered to a message you should also look up /scon in the mirc help file.. a nice little function that lets you send a command from one network to another or simply all networks with the -a parameters
for example
on *:TEXT:!ident:#: scon -a /msg nickserv identify botpassword

^^
_________________________
http://ialex.info
ialex94wr@gmail.com
alex@ialex.info

Top
#5412 - 07/06/09 08:09 PM Re: Using mIRC on multiple networks [Re: boredcollegekid]
bradjoe96 Offline
newbie

Registered: 11/27/08
Posts: 36
Loc: United States
Boredcollegekid, try this for Ustream:

on *:NOTICE:*This is a registered nick, either choose another nick or enter the password by doing: /PASS <password>*:?: {
if (($nick == chat04.ustream.TV) && (*.ustream.TV iswm $server)) {
/pass password
}
}


Edited by bradjoe96 (07/06/09 08:15 PM)

Top
#5542 - 08/02/09 12:43 PM Re: Using mIRC on multiple networks [Re: boredcollegekid]
bradjoe96 Offline
newbie

Registered: 11/27/08
Posts: 36
Loc: United States
Boredcollegekid, it appears there was an error in that last bit of code. After months of working on it, I managed to figure this out. You have to put the identify line on the server -m line!

So on that server part it would be something like this:
Code:
  server -m chat1.ustream.tv /pass ****


Make sure you replace **** with your password.

If this doesn't work for you, please respond to this. Hope everything goes out good and have a good day smile

Top


Moderator:  Jeff, mandy, usrbingeek