mIRC Home    About    Download    Register    News    Help

Print Thread
Alternative nickname #243146 21/10/13 04:01 PM
Joined: Sep 2011
Posts: 37
C
Chinshy Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Sep 2011
Posts: 37
that when i come with nickname i use an altrenative nickname

until my nickname get dc but when it get dc its doesnt auto change my nickname from the alternative one to the main one

even i put it on options on connect

Re: Alternative nickname [Re: Chinshy] #243384 14/11/13 01:13 AM
Joined: Feb 2008
Posts: 34
mbab Offline
Ameglian cow
Offline
Ameglian cow
Joined: Feb 2008
Posts: 34
Had same 'problem' and was annoyed :P

put this in your remotes:


on *:disconnect:{
set %Cconnect Off
}

on *:connect:{
if (($me == $anick) && (%Cconnect == Off)) {
timerghost 1 1 ns ghost $mnick PASSWORD
timerchange 1 2 /nick $mnick
}
}

Re: Alternative nickname [Re: mbab] #243387 14/11/13 07:35 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
This variable %Cconnect , it will never have any other value then "off" in your code.
Code:
on *:disconnect:{
 set %Cconnect Off
}

on *:connect:{
 if (($me == $anick) && (%Cconnect == Off)) {
  set %Cconnect On
  timerghost 1 1 ns ghost $mnick PASSWORD
  timerchange 1 2 /nick $mnick
 }
} 




if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }