mIRC Home    About    Download    Register    News    Help

Print Thread
#26310 27/05/03 02:23 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
how do i make an nickserv auto id?

#26311 27/05/03 02:40 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
depending on which IRC server you use Certian ones have nickser which send you notices, This is one I wrote for Dalnet


on *:NOTICE:*:?: {
if ( 60 seconds isin $1- ) && ( .dal.net isin $server ) { msg NickServ Identify PASSWORD }
if ( 40 seconds isin $1- ) && ( .dal.net isin $server ) { msg NickServ Identify PASSWORD }
if ( 20 seconds isin $1- ) && ( .dal.net isin $server ) { msg NickServ Identify PASSWORD }
if ( If this is your isin $1- ) && ( .dal.net isin $server ) { msg NickServ Identify PASSWORD }
if ( Your nick has been isin $1- ) && ( .dal.net isin $server ) { nick $mnick }
if ( The nick isin $1- ) && ( .dal.net isin $server ) { msg NickServ Identify PASSWORD }
if ( You must be an AOP isin $1- ) && ( .dal.net isin $server ) { msg NickServ Identify PASSWORD }
else { halt }
}




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#26312 27/05/03 02:43 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Or identify on connect,
Code:
On *:connect:{
  if $network == DALnet { identify nick pass }
  if $network == Undernet { msg x@channels.undernet.org login user pass }
  ...
}

But -- be careful with putting passwords in your scripts, because you can accidently reveal them to someone else. Instead of writing the plain password, you may want to $read() them from a separate file, so that in case you send the script to a friend he won't see the actual password.

#26313 27/05/03 03:25 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
you mnay want to take in concideration if your nick gets changed into a guest have a line that will change it back if it is not set AFK or AWAY




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#26314 27/05/03 03:49 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
If I'm not mistaken, that won't work on DALnet. /msg nickserv no longer works. You need to /msg [email]nickserv@services.dal.net.[/email] Or, take the easier approach and don't use /msg at all and just /ns or /nickserv.

#26315 27/05/03 12:05 PM
Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Since DALnet services are often lagged.... I wouldn't use this code if I were you... If services are laggy... it willill get killed for flooding services.

Also... use /NickServ /ns /identify or /msg NickServ@Services.DAL.net laugh

#26316 27/05/03 12:21 PM
Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
This is for DALnet....

Add this to remotes...

On *:connect:{ msg NickServ@Services.DAL.net identify %nickpass }
On *:notice:{ if ($fulladdress == NickServ!service@dal.net) && (nick is owned by someone isin $2-) { msg NickServ@Services.DAL.net identify %nickpass } }

menu status {
SetNickPass:/set %nickpass $$?="Set Nick Password:"
}



Havn't tested it... Should work...


Link Copied to Clipboard