mIRC Home    About    Download    Register    News    Help

Print Thread
#221456 19/05/10 10:12 AM
Joined: Feb 2008
Posts: 34
mbab Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Feb 2008
Posts: 34
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

Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
Code:
on *:DISCONNECT:{ if ($me != $mnick) { nick $v2 } }


I am SReject
My Stuff
Joined: Feb 2008
Posts: 34
mbab Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Feb 2008
Posts: 34
Where should i put that, in remotes or aliases?

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Remotes.

Joined: Feb 2008
Posts: 34
mbab Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Feb 2008
Posts: 34
This doesnt work

Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
The code provided may need a timer:
Code:
on *:disconnect:{
  if $me != $mnick { .timermnick 1 2 nick $v2 }
}

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031


You could just add it to your perform list.

mnick nick1
anick nick2

Joined: Mar 2010
Posts: 17
V
Pikka bird
Offline
Pikka bird
V
Joined: Mar 2010
Posts: 17
on *:disconnect: {
server <add> port -i <Nick>
unset %test_ok $+ $nick
}

Joined: Sep 2009
Posts: 52
Z
ziv Offline
Babel fish
Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
Put this in your remote:

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


ziv.


Link Copied to Clipboard