Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Jane
« on: February 09, 2011, 09:49:38 pm »

I Just love this script, Well done !
Posted by: MoTheHobo
« on: February 09, 2011, 08:59:20 pm »

Oh nice script, i will use this one :P.
Posted by: Hamo
« on: February 09, 2011, 08:56:44 pm »

heres an auto ban script for channel control bots
Code: [Select]
on *:text:!addban *:#: {
    if ( $me isop $chan ) {
      if ($nick isop $chan)) {
        set %ban. [ $+ [ $2 ] ] 1
        msg $chan 5 $2 have been added to the Autoban List
        mode # +b $address($2,2)
        kick # $2 You Have been Banned From This Channel
      }
      else {
        msg $chan You are not allowed to use this Command
     }
   }
 }

on *:text:!delban *:#: {
    if ( $me isop $chan ) {
      if ($nick isop $chan)) {
        unset %ban. [ $+ [ $2 ] ]
        msg $chan 5 $2 have been deleted from The Autoban list
        mode # -b $address($2,2)
      }
      else {
        msg $chan You are Not allowed to use this command
     }
   }
 }

on *:join:#: {
    if ( %ban. [ $+ [ $nick ] ] == 1 ) {
      mode # +b $address($nick,2)
      kick # $nick You Are Banned From This Channel
}
 

its beter that you delete
Code: [Select]
  if ($nick isop $chan)) and add your own owner system or your nick
thats all :)