mIRC Home    About    Download    Register    News    Help

Print Thread
#2760 20/12/02 08:14 PM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
What is Wrong With This Code?
Code:
on *:NOTIFY:{
  if (Nickserv == $nick) { 
    Echo -a Identifying to Nickserv With Password
    .msg nickserv@services.dal.net identify somepassword
  }
}
  
I want it to msg nickserv my password whenever i get notified nickserv is online, but i dont think it is working as i dont see no echoing goin' on. Should i use:
  • $notify
  • $snotify
PLease Give me a shove in the right direction grin

Last edited by keeker; 20/12/02 08:16 PM.

keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
#2761 20/12/02 08:32 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code:
on *:NOTICE:This nick is owned*:?:{
  if ($nick == nickserv) { 
    echo -a Identifying to Nickserv With Password
    .msg nickserv@services.dal.net identify somepassword 
  }
}


^That would auth you with nickserv whenever nickserv noticed you the text "This nick is owned" with anything after it.

#2762 20/12/02 11:29 PM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
thanks collective for replying, but i found my problem, in the script i have on my computer, i had nickservE instead of Nickserv <---- No E
I must have unconsiuosly corrected my mistake, thanks any way though grin



keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.

Link Copied to Clipboard