mIRC Home    About    Download    Register    News    Help

Print Thread
#106508 31/12/04 10:33 AM
Joined: Dec 2004
Posts: 2
M
m4x Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
M
Joined: Dec 2004
Posts: 2
I want a script that auto-ghosts my nick if it's still there when I reconnect. I tried this, but it didn't work


Code:
 on :NICK:if ($newnick == name) {/msg nickserv ghost $newnick password}  


Thanks in advance for any help

#106509 31/12/04 12:59 PM
Joined: Dec 2004
Posts: 3
H
Self-satisified door
Offline
Self-satisified door
H
Joined: Dec 2004
Posts: 3
on *:NICK:{ if ($newnick == name) { /msg nickserv ghost $newnick password } }

try again laugh


SOU BRASILEIRO, E NÃO DESISTO NUNCA.
#106510 31/12/04 05:42 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
well, for one thing ON NICK will only work if you're online and see it. however, there's a few ways this can be done:

Code:
on *:notify: {
  if (($nick == name) && ($nick != $me)) { /msg nickserv ghost $nick password }
}


That will work if the nickname is in your notify list (/notify nickname) and your nicklist is turned on (/notify on) when you connect to the network.


Those who fail history are doomed to repeat it
#106511 01/01/05 08:47 AM
Joined: Dec 2004
Posts: 2
M
m4x Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
M
Joined: Dec 2004
Posts: 2
Thanks

#106512 01/01/05 11:57 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
no problem smile It's what I use (with some other coding here and there). Has worked well for years


Those who fail history are doomed to repeat it

Link Copied to Clipboard