Well, this is kind of hard to give a title. Sometimes, if people have 2 houses (Parents Divorced, want to get on at a grandparent's house, etc.) and they left their nick logged on, they have to take their alternative nickname until their original times out. That just happened in a channel with someone, and I decided to make something to be able to disconnect your other nick with a simple command. Put this code in both mIRCs. One at the one house, one at the other. Now, when you find yourself in this situation, simply type /dc , or click on the person's name in the nicklist or channel and choose Disconnect. This will send a ctcp to the nick, and if it is your alternative or main nick sending the message, it will disconnect.
Note: I didn't get the chance to test this one, if there is an error please let me know.
alias dc {
if ($me == $mnick) ctcp $anick DISCONNECT
else ctcp $mnick DISCONNECT
}
on *:CTCP:DISCONNECT:*:{
if ($nick == $anick) quit
}
menu * {
$iif($nick == $mnick,DISCONNECT): dc
}