Auto identify, Auto Release, Greet

By LaTiNo on Jun 20, 2010

Hi Friend.
I want to share this simple snippet that have:

AutoIdentify: on Connect
AutoRelease: If the bot nick need Release,
SpamCheck: Whit HOP each 1200 seg.

Just past the code in your Remote and Change the name of your channel and of your bot and set his password at:

Enjoy!! :)

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

ON 1:JOIN:#yourchannel: { 
  if ($nick == BotNick)  { .timerhops 1 1200 .hop #yourchannel  Checking Spammers :) }
  elseif ($nick != BotNick) { /notice $nick Welcome $nick. Full Friendship in this channel! Enjoy! :) }
}

Comments

Sign in to comment.
Jethro   -  Jun 21, 2010

Yeah he didn't take this out of his personal script, did he? :p
(I've seen many people do this by submitting a section of their personal code at hawkee.)

Also it is a true and false condition, so no elseif required:

if ($nick == BotNick)  { 
  ...
 }
 else { 
  ...
}
 Respond  
WorldDMT   -  Jun 21, 2010

.hop #yourchannel Checking Spammers :)
where is the anti-spam?

sometimes it may happened that the connection is cut and the nickname is still connected you will have the ghost nick orelse mIRC will ask another nick your bot will stop fonction for a time

 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.