Connecting twice to the same network automatically - 25/10/13 11:17 AM
Now, here's the thing. I already know how to connect on startup to the same network twice. What I want to specifically know if there's a way to do nick enforcement on two nicks on the same mirc client on the same network.
There seems to be the problem of when I set the names.. let's say Bobatron as nick1 and Nickatron as nick2, sometimes it'll set them opposite of what I wanted, like Nickatron as nick1 and Bobatron as nick2. Is there a reason it'd do that when I'm telling it which nick to use first?
Also, I do have a working script that does nick enforcement, but as far as I know it only works if you connect to a network once, but I can't use it as I am connecting TWICE.
Here is the script, though I am changing nicks and such to keep it simple.
... To re-iterate, since I know I ramble on a bit, what I want it to do is 'if this is network connection 1, go with this nick setup. network connection 2, go with this one'
Code:
on *:start: { server server.name -n nick1 -j channels server -m server.name -n nick2 -j channels } on *:NOTICE:*/msg NickServ IDENTIFY*:?: { if ($nick == NickServ && $network == EsperNet) { iden } }
There seems to be the problem of when I set the names.. let's say Bobatron as nick1 and Nickatron as nick2, sometimes it'll set them opposite of what I wanted, like Nickatron as nick1 and Bobatron as nick2. Is there a reason it'd do that when I'm telling it which nick to use first?
Also, I do have a working script that does nick enforcement, but as far as I know it only works if you connect to a network once, but I can't use it as I am connecting TWICE.
Here is the script, though I am changing nicks and such to keep it simple.
Code:
on *:start: { server irc.esper.net 6667 } on *:connect:{ if ($network == EsperNet) { nick Nickatron } } on *:NOTICE:*/msg NickServ IDENTIFY*:?: { if ($nick == NickServ && $network == EsperNet) { iden } } raw 433:*:{ if ($2 == $mnick && $network == EsperNet) { ghost $mnick } } on *:NOTICE:*has been ghosted.*:*:{ if ($network == EsperNet) { nick $mnick } } on *:NOTICE:*You are now identified for*:?: { if ($nick == NickServ && $network == EsperNet) { join #Channeltron } }
... To re-iterate, since I know I ramble on a bit, what I want it to do is 'if this is network connection 1, go with this nick setup. network connection 2, go with this one'