anna-Bot

By Tinus on Aug 03, 2006

the first part of this bot is to kick spammers
the second pat is to kick assaulting people
in the third chapter of the bot just change the name of the botadmins1 en 2
and the channelname to let the bot work this commands you speak in a private window
the first rule is to make the bot say the thin gyou give up like !say hello everyone
the second rules is to get ops (!+ command)
the third is to take away the ops (!- command)
the fourth rule is to kick people in format !k name reason
the fifth rule is to ban people in formate !ban name reason
that person you wil be banned with a reason you give up

and thats it have fun with this bot

on *:text:www*:#:{
kick $chan $nick no spamming
}
on *:text:com*:#:{
kick $chan $nick no spamming
}
on *:text:nl*:#:{
kick $chan $nick no spamming
}
on *:text:be*:#:{
kick $chan $nick no spamming
}
on *:text:tt*:#:{
kick $chan $nick no spamming
}
==================================================================
end of anti-spamming part
==================================================================
on *:text:bitch*:#:{
kick $chan $nick no assaulting
}
on *:text:slet*:#:{
kick $chan $nick no assaulting
}
on *:text:eikel*:#:{
kick $chan $nick no assaulting
}
on *:text:mongool*:#:{
kick $chan $nick no assaulting
}
on *:text:kanker*:#:{
kick $chan $nick no assaulting
}
on *:text:tering*:#:{
kick $chan $nick no assaulting
}
==================================================================
end of assaulting part
==================================================================

on 1:text:!say *:*: { 
  if (**BOTADMIN1** isin $nick) { /msg #chatplaza $2- }
  if (**BOTADMIN2** isin $nick) { /msg #chatplaza $2- }
  else { }
}on 1:text:!+ *:*: { 
  if (**BOTADMIN1** isin $nick) { /mode #chatplaza +o $nick }
  if (**BOTADMIN2** isin $nick) { /mode #chatplaza +o $nick }
  else { }
}
on 1:text:!- *:*: { 
  if (**BOTADMIN1** isin $nick) { /mode #chatplaza -o $2- }
  if (**BOTADMIN2** isin $nick) { /mode #chatplaza -o $2- }
  else { }
}on 1:text:!k *:*: { 
  if (**BOTADMIN1** isin $nick) { /kick #chatplza $2 $3- }
  if (**BOTADMIN2** isin $nick) { /kick #chatplaza $2 $3- }
  else { }
}
on 1:text:!ban *:*: { 
  if (**BOTADMIN1** isin $nick) { /ban $address | kick #chatplaza $2 $3- }
  if (**BOTADMIN2** isin $nick) { /ban $address | kick #chatplaza $2 $3-  }
  else { }
}

==================================================================end of botmessage remte control
==================================================================END of this bot script

Comments

Sign in to comment.
xplo   -  Dec 05, 2008

you got pwnd by Noutrious

 Respond  
Noutrious   -  Aug 07, 2006

Sorry, but ULTRA LAME SCRIPT these scripts are everywhere, but this is the worst ever X_x
1.

end of assaulting part

should be
;==================================================================
;end of assaulting part
;==================================================================
to dont damage the script. 2. if (**BOTADMIN1** isin $nick) { /msg #chatplaza $2- } is non secure, anyone could use this for bad., so replace it with if ($address($nick,2) == $owneraddress) { /msg $chan $2- } and somewhere put aliases: alias owneraddress { .var %OWNERADDRESS = YOUR_IP_HERE .return %OWNERADDRESS } 3. on *:text:bitch*:#:{ kick $chan $nick no assaulting } This could be 80% shorter and easier. Replace with: on *:text:*:#:{ if (bitch isin $1-) || (shit isin $1-) && ($me isop $chan) { .kick $chan $nick Please, no swearing halt } } 4. on *:text:www*:#:{ kick $chan $nick no spamming } This is very lame, this could kick someone who doesnt spam like, someone says wwwwwwwooooooooowwwwwwwww or smtn, so a little bit better would be:
on :text::#:{
if (www isin $1-) && (. isin $1-) {
.kick $chan $nick No spamming, please.
halt
}
if (http:// isin $1-) {
.kick $chan $nick No spamming, please.
halt
}
}

So, as you see, much, much work 2 do.

 Respond  
Bigmomma   -  Aug 04, 2006

Tinus, are you dutch ? :p

 Respond  
CaRe_Taker   -  Aug 03, 2006

why not make it one on text statment an use if (www isin $1-) && (http isin) { /kick # $nick }
Coz with this how it is it will kick any user that has, be nl and tt at the start so if i was to say better it would kick ?

 Respond  
greenlanter420   -  Aug 03, 2006

I suppose this is supposed to be based off that song? which makes it even worse because that song is aweful but thats personal opinion besides that way to many on text commands but its a goood start many of the commands are useless to the average user because they appear to be in another language which is fine but you should mention this because it won\'t protect anyone from english swear words other than B*tch also like others have mentioned user levels are nice to have.

 Respond  
ZabuzaMomochi   -  Aug 03, 2006

you tried to make it so it would kick someone who says the text \'be\' Thats very unnaficiant.. and i probly didnt spell it right..

 Respond  
krimson   -  Aug 03, 2006

this snippet\'s poorly written.. you\'ve put \'#chatplaza\' where it should have been \'$chan\', and used a lot of on text events that are not that efficient.

for example, in the so-called \'anti-spamming part\', you check if \'www\' is the first part of a message, if the spammer starts with anything other than www (even a control char, such as bold, color etc), it won\'t set-off, hence rendering your \'anti-spam part\' useless. same thing for \'assault\'.

I myself would rather use level-based access to important commands
/help /auser
/help levels

 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.