anna-Bot
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 1.3 |
| Scores Submitted | 4 |
| Date Added | Aug 03, 2006 |
| Last Updated | Aug 03, 2006 |
| Tags | bot bots botscripts |
|
|
Introduction
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
mIRC Snippet:
anna-Bot
Posted on Aug 3, 2006 7:22 am
Posted on Aug 3, 2006 7:22 am
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
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
mIRC Snippet:
anna-Bot
Posted on Aug 3, 2006 10:20 am
Posted on Aug 3, 2006 10:20 am
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..
mIRC Snippet:
anna-Bot
Posted on Aug 3, 2006 11:55 am
Posted on Aug 3, 2006 11:55 am
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.
mIRC Snippet:
anna-Bot
Posted on Aug 3, 2006 9:34 pm
Posted on Aug 3, 2006 9:34 pm
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 ?
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 ?
mIRC Snippet:
anna-Bot
Posted on Aug 7, 2006 2:21 am
Posted on Aug 7, 2006 2:21 am
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 don`t 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-) || (shoot 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 doesn`t 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.
1.
==================================================================
end of assaulting part
==================================================================
should be
;==================================================================
;end of assaulting part
;==================================================================
to don`t 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-) || (shoot 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 doesn`t 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.





