Cool Ban+Kick For Bot

By Arch3r on Aug 22, 2010

This is snippet for bot ... meybe have a bugs ...meybe no xD using !cool For activation snippet xD

on *:text:!cool*:#: {
if ( $2 ison #) && ( $me isop #) || ( $me ishop #)
set %coolnick $2 $+ `
/nick %coolnick
ban # $2 | /timer 1 2 kick # $2 Oh no you baned your self?
unset %coolnick
/nick Botnick | /identify Password if is botnick registred

Comments

Sign in to comment.
DarkGamer120   -  Sep 05, 2010

if you can spell Banned right, o.o

More
 Respond  
MagicRevealer09   -  Aug 30, 2010

Not to be a troll or anything, but GAY! What's the point in this script? Useless if you ask me...

More
 Respond  
jackster35-1   -  Aug 25, 2010

Oh yeah, I didn't notice it kicked the nick using it xD

More
 Respond  
napa182   -  Aug 24, 2010

jackster35-1 why add all the unnecessary on load event an alias? why do you have it kick the nick that triggers the snippet? and no need to use any vars...

More
 Respond  
jackster35-1   -  Aug 24, 2010

Well, you should try and make this a bit more better by putting brackets. Heres what I'd do to the script:

on *:LOAD:*:{
  echo Please type /bn followed by your bot's nick. Thanks!
}
alias bn {
  /set %botnick $1
  echo Thanks, botnick's set to $1
}
on *:text:!cool *:#: {
  if ($2 ison $chan) {
    if ($me isop $chan) || ($me ishop $chan) {
      var %coolnick $2 $+ `
      /nick %coolnick
      /mode $chan +b $address($2,2)
      .timer 1 3 /kick $2 $chan Oh no you baned your self and kicked your self?!
      return %coolnick
      /nick %botnick
    }
  }
}

That would suit my bot :)

More
 Respond  
ZirixZero   -  Aug 24, 2010

What is the point of this?

More
 Respond  
Jethro   -  Aug 24, 2010

[jonathan], are you speaking some sort of Ewoks language from Star Wars?

More
 Respond  
[jonathan]   -  Aug 23, 2010

what the hol is this ! ( futkih mararah ki dechosh re beh eidah.. chudhiyah lhaal khoriyah diboh reh beh ) :P

More
 Respond  
Sorasyn   -  Aug 22, 2010

Come on man.. :/ i dont even see a closing bracket, if there is one you hid it well

More
 Respond  
napa182   -  Aug 22, 2010

wtf is this about anyway??? makes no sense...

but i guess you could clean it up some..

on $@*:text:/^!cool\s(\S+)$/iS:#: {
  if (!$timer(nc) && $nick(#,$nick,oh) && $regml(1) ison # && $v1 != $me) {
    nick $+($v1,`)
    ban -ku10 # $v1 2 Oh no you banned your self?
    .timernc 1 5 nick $mnick 
    .ns identify passhere
  }
}

Still this code just makes no sense...

More
 Respond  
Jethro   -  Aug 22, 2010

Why did you even submit this in the first place? What is so cool about it?

More
 Respond  
Arch3r   -  Aug 22, 2010

If have a bugs i will try fix it xD

More
 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.