mIRC Homepage

Nick change on disconnect

Posted By: mbab

Nick change on disconnect - 19/05/10 10:12 AM

Hmm was wondering how to set script/alias or w/e to change from secondary to primary nick on disconnect,being lazy lately to type it=P

Its gonna be helpful especially when i am afk
Posted By: FroggieDaFrog

Re: Nick change on disconnect - 19/05/10 01:01 PM

Code:
on *:DISCONNECT:{ if ($me != $mnick) { nick $v2 } }
Posted By: mbab

Re: Nick change on disconnect - 19/05/10 02:55 PM

Where should i put that, in remotes or aliases?
Posted By: RoCk

Re: Nick change on disconnect - 19/05/10 03:35 PM


Remotes.
Posted By: mbab

Re: Nick change on disconnect - 27/05/10 08:27 PM

This doesnt work
Posted By: Tomao

Re: Nick change on disconnect - 28/05/10 04:22 AM

The code provided may need a timer:
Code:
on *:disconnect:{
  if $me != $mnick { .timermnick 1 2 nick $v2 }
}
Posted By: RoCk

Re: Nick change on disconnect - 28/05/10 05:41 AM



You could just add it to your perform list.

mnick nick1
anick nick2
Posted By: Venus78

Re: Nick change on disconnect - 13/07/10 06:17 PM

on *:disconnect: {
server <add> port -i <Nick>
unset %test_ok $+ $nick
}
Posted By: ziv

Re: Nick change on disconnect - 16/07/10 05:50 PM

Put this in your remote:

Code:
on 1:disconnect:{ server $server }
on 1:connect:if $me != $mnick { nick $v2 }


ziv.
© 2022 mIRC Discussion Forums