Auto Identify

By luighlatino on Apr 01, 2010

HI!!

This snippet contain an utility for the autoidentification of the bot when this is connected and go to a channel , whitout to write on the Status: /identify . Also executes the command: hop for to have his @op & the command Release if his nick is a Guest!
Just paste the code en your mIRC Remote.

Enjoy! :P

ON *:CONNECT: {
  if ($nick ==  namebot) { .identify <password> }
  elseif ($nick != namebot) { .ns release namebot <password> | .timerNick 1 2 .nick "namebot" }
  .timerConex 1 4 .hop #latino
}

Comments

Sign in to comment.
GuitarMasterx7   -  Apr 01, 2010

u can make it a 1 liner script using pipes
and vars [ <- optional lolz ]

ON *:CONNECT: { msg nickserv ghost %BotNick %BotPass | .nick %BotNick | msg nickserv id $me %BotPass | halt } 

ect.

but the way i did it everything would be a bit to fast an would prob cause minor spam
so the use of ur timers is a smart idea =]

 Respond  
Jethro   -  Apr 01, 2010

Why do you need an elseif statement? An if and else will suffice:> if ($nick == namebot) { .identify }
else { .ns release namebot | .timerNick 1 2 .nick "namebot" }The condition is either true or false.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.