SimpleBot v2.7

By DeathRyder082 on Aug 06, 2005

Ok, this is the newer version from -|SimpleBot-v2.3|-. I added a Swear Protection feature, and would like to thank Vortex for the idea. Also added the on text commands to check and see if the bot was op on the channel. I also merged the Warn/Kick/Ban's into one so there wouldn't be so much extra crap, instead it will Kick/Ban the user. Also made where the on unban and ban would message the owner of the bot, since in bigger rooms this could flood. Make sure you add Admin: yournickhere to the users section and change DeathRyder082 to your nick. I didn't test this since it didn't change much from the older version, it should work. If not please let me know, and as always please leave comments and suggestions of what I should add.

;-|SimpleBot-v2.7|-
;By DeathRyder082
;DeathRyder082@yahoo.com

on *:load:{
  /echo The -|SimpleBot-v2.7|- by DeathRyder082
  /echo All questions/comments should be relayed to DeathRyder082@yahoo.com
  /echo Please go to the Menu Channel to Activate -|SimpleBot-v2.7|-
  /echo *Comming Soon* New Versions.
}
on *:Unload:{ 
  /echo Thanks for using -|SimpleBot-v2.7|- by DeathRyder082
}
menu channel {
  -|SimpleBot-v2.7|-
  .Activate: /enable #SimpleBot | echo -a -|SimpleBot-v2.7|- Has been Activated
  .Deactivate: /disable #SimpleBot | echo -a -|SimpleBot-v2.7|- Has been Deactivated
  ..AddAdmin:/guser admin $$?="Nick"
}
#SimpleBot off
on 1*:unban:#:{ .msg DeathRyder082 $nick Unbanned $banmask }
on 1*:ban:#:{ .msg DeathRyder082 $nick Banned $banmask }
on *:join:#:{ .msg $nick Hey $nick Welcome to $chan }
on Admin:Text:!Commands:#:{ .msg $nick My Commands: !Kick/Ban !NKB !FKB !SKB !CLKB !CKB !RKB !Kick !Deop/Voice !Op/UnVoice !UnQuiet !Quiet !Ban !UnBann !Deop !Op !UnVoice !Voice. }
}
on Admin:Text:!Kick/Ban:#:{
  if ($me isop $chan) { /kick $chan $nick You have been kicked/banned on request | /mode $chan +b $nick  }
}
on Admin:Text:!NKB:#:{
  if ($me isop $chan) { /kick $chan $nick Your nickname was unacceptable for $chan | /mode $chan +b $nick }
}
on Admin:Text:!FKB:#:{
  if ($me isop $chan) { /kick $chan $nick Flooding is not acceptable in $chan | /mode $chan +b $nick }
}
on Admin:Text:!SKB:#:{
  if ($me isop $chan) { /kick $chan $nick Spamming is not acceptable on $chan | /mode $chan +b $nick }
}
on Admin:Text:!CLKB:#:{
  if ($me isop $chan) { /kick $chan $nick Clones are not acceptable in $chan | /mode $chan +b $nick }
}
on Admin:Text:!CKB:#:{
  if ($me isop $chan) { /kick $chan $nick Caps are not acceptable in $chan | /mode $chan +b $nick }
}
on Admin:Text:!RKB:#:{
  if ($me isop $chan) { /kick $chan $nick Racism is unacceptable for $chan | /mode $chan +b $nick }
}
on Admin:Text:!SwearOff:#:{ 
  if ($me isop $chan) { /disable #SwearPro | .msg $nick SwearPro has been Deactivated }
}
on Admin:Text:!SwearOn:#:{ 
  if ($me isop $chan) { /enable #SwearPro | .msg $nick SwearPro has been activated }
}
on Admin:Text:!Kick*:#:{
  if ($me isop $chan) { /kick $chan $nick You have been kicked on request. } 
}
on Admin:Text:!Deop/Voice:#:{
  if ($me isop $chan) { /mode $chan -o $nick | /mode $chan +v $nick }
}
on Admin:Text:!Op/UnVoice:#:{
  if ($me isop $chan) { /mode $chan +o $nick | /mode $chan -v $nick }
}
on Admin:Text:!AddAdmin *:#:{ /guser admin $nick }
}
on Admin:Text:!UnQuiet:#:{
  if ($me isop $chan) { /mode $chan -q $nick }
}
on Admin:Text:!Quiet:#:{
  if ($me isop $chan) { /mode $chan +q $nick }
}
on Admin:Text:!Ban:#:{
  if ($me isop $chan) { /mode $chan +b $nick }
}
on Admin:Text:!UnBann:#:{
  if ($me isop $chan) { /mode $chan -b $nick }
}
on Admin:Text:!Deop:#:{
  if ($me isop $chan) { /mode $chan -o $nick }
}
on Admin:Text:!Op:#:{
  if ($me isop $chan) { /mode $chan +o $nick }
}
on Admin:Text:!UnVoice:#:{
  if ($me isop $chan) { /mode $chan -v $nick }
}
on Admin:Text:!Voice:#:{
  if ($me isop $chan) { /mode $chan +v $nick }
}
#SwearPro off
on 1:Text:*Fuck*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Cunt*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Pussy*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Bitch*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Whore*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Nigger*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Spic*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
on 1:Text:*Jap*:#:{
  if ($me isop $chan) { /kick $chan $nick SwearProtection, Please don't say that in $chan }
}
#SwearPro end
#SimpleBot end

Comments

Sign in to comment.
DeathRyder082   -  Aug 18, 2005

I like the new avatar Corne.

 Respond  
DeathRyder082   -  Aug 07, 2005

Oh just saw the bottom. Ok well the reason I added that is i never make my self op, i stay voiced. And i like my bot to tell me what goes on in my channels that way i dont have to go looking back and forth, and if needed i can take charge, but it was usefull for me.

 Respond  
DeathRyder082   -  Aug 07, 2005

What the comment Tomijz? If your reffering to #SimpleBot off thats a group that can be changed via channel popups. Also DeathRyder082 is my nickname so you will need to change that to your nick name.

 Respond  
Noutrious   -  Aug 07, 2005

SimpleBot off

on 1:unban:#:{ .msg DeathRyder082 $nick Unbanned $banmask }
on 1
:ban:#:{ .msg DeathRyder082 $nick Banned $banmask }


what does that mean?? Why the bot should inform YOU about unbanning, banning? Stuped..

 Respond  
DeathRyder082   -  Aug 07, 2005

Ok, changed all \"/msg\" to \".msg\". Changed all \"$2\" to \"$nick\". Added a AddAdmin on text command and on the popup channel menu. Anymore comments?

 Respond  
DeathRyder082   -  Aug 07, 2005

Hmm.
I don\'t know why I added $2, maybe somewhere in my mind that would work. Lol. I will fix that, and I will note that aeros. Thanks for the feeback.

 Respond  
Corne   -  Aug 06, 2005

It should be /msg $nick not $2 and use .msg $nick instead of /msg $nick so you wont get flooded so easily if there is a mass join (I\'m talking about on join event).
To all your swear protection should be /kick $chan $nick not $2.

 Respond  
aeros   -  Aug 06, 2005

err looks okay, ur swear protection part of the script should be shorter. make it read from a text or somtin. You dont need all the /\'s ..... other than that its cool..

/guser admin nick << to add urself as admin to use this script

 Respond  
DeathRyder082   -  Aug 06, 2005

Checked the coding again after I posted, seems to all be in order and should copy and paste correctly.

 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.