mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2005
Posts: 449
Fjord artisan
OP Offline
Fjord artisan
Joined: May 2005
Posts: 449
I haven't had a need for this before, but now I do, and I don't know how to accomplish it. This seems like it could be a problem, because I need my nick to be Blake81 if $network = ScanGeorgia. That'll be a problem though, because I can't connect to the server unless my name is correct, and network won't equal anything if I'm not connected, right? Thanks.

Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
/server irc.yournetwork.net 6667 -i MainNick AltNick [email]email@address[/email] Realname

-genius_at_work

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Quote:
I haven't had a need for this before, but now I do, and I don't know how to accomplish it. This seems like it could be a problem, because I need my nick to be Blake81 if $network = ScanGeorgia. That'll be a problem though, because I can't connect to the server unless my name is correct, and network won't equal anything if I'm not connected, right? Thanks.


the ON COnnect code still functions at good speed during connect before the server finds out your "Nick"

Code:
ON *:CONNECT:{
if ($network == whatevernetwork) { nick nickforthisnetwork | msg nickserv identify password for that nick }
elseif ($network == whatevernetwork for next network) { nick nickforthisnetwork | msg nickserv identify password for that nick }
elseif { again same as on top }
elseif { again same as on top }
}


you get the point


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Aug 2006
Posts: 23
W
Ameglian cow
Offline
Ameglian cow
W
Joined: Aug 2006
Posts: 23
i should hurry up and post my away script somewhere. It has an on connect section that will set your nick based on the network, auto-idents to nickserv (anope varity) and oper, if you have access. Uses an ini file to store settings and remeber your away states.

I think it would work for what you want :tongue:


Link Copied to Clipboard