Warn/Ban script

By Jesse on Aug 29, 2009

Well a friend gave me the idea of it. Basically you go over and right click on someone who is breaking the rules and click on one of them. You can Warn them, Kick,Mute, or Ban.
I am still kinda new at scripting so there could be some errors >.> but it works fine with me.
:D Enjoy.
Edit: Fixed The ban part.
Edit: Added a few things.

menu * {
  Warns/Bans
  .Warn For Spam: { msg # 6//4 $1 6\\7Please stop spamming >=/ Do it again and you will be banned6\\ }
  .Warn For Being Annoying: { msg # 6//4 $1 6\\7Please Stop being So annoying for god sakes =/6\\ }
  .Warn For Flooding: { msg # 6//4 $1 6\\7Please Do not Flood The channel >=/ do this again and you will be banned6\\  }
  .mute : { mode # +b ~q: $+ $address($1,2)
  /msg $chan 6//4 $1 6\\7You have been Muted for 10 minutes.How about you sit in the corner and think about what you did wrong6\\ }
  .Stfu: { /msg $chan 6//4 $1 6\\7How about you stfu? >=/ next time you talk a ban comes in.6\\ }
  .Kick: { /msg $chan 6//4 $1 6\\7 You have been warned This is your last warning. I shall prove to you that i am not kidding >=/6\\
  /kick $chan $1 7Final Warning >=/ }
  .ban: { /msg $chan 6//4 $1 6\\7 You have been warned. you shall not be warned again. 24 Hour ban for you >=/6\\
  /ban -ku86400 $chan $1 2 7 24 hour ban >=/ }
  .Warn For Being mean: { /msg # 6//4 $1 6\\7Please stop being a Tool, You will not be warned again =/6\\ }
  .Warn for disrespect: { /msg # 6//4 $1 6\\7Please Respect users And ops. You will not be warned again.6\\ }
  .Warn for  inappropriate stuff: { /msg # 6//4 $1 6\\7Please Keep the topic appropriate We have children here =/6\\ }
}

Comments

Sign in to comment.
Ghost-writer   -  Aug 29, 2009

nice, make it menu n*

 Respond  
Jonesy44   -  Aug 29, 2009

menu * -> menu nicklist?

Else $1 = feck all :) x

 Respond  
Jethro   -  Aug 29, 2009

actually you could just do this for kicking and banning:

/ban -ku86400 $chan $1 2 7 24 hour ban >=/
 Respond  
oobi   -  Aug 29, 2009

not a bad script, but I'd suggest making a few changes, for the mute you should probably do mode # +b ~q: $+ $address($1,2) and for the ban make it /mode $chan +bb $1 $address($1,2)

 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.