Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!addban *:#: {
- if ($nick isin $read(owners.txt,w, $nick)) {
- if ($2 ison $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
- }
- else { msg $chan $2 Is Not in The Channel
- }
- }
- on *:text:!delban *:#: {
- if ($nick isin $read(owners.txt,w, $nick)) {
- unset %ban [ $+ [ $2 ] ]
- msg $chan 5 $2 have been deleted from The Autoban list
- }
- else { msg $chan You are Not allowed to use this command
- }
- on *:join:#: {
- if ( %ban [ $+ [ $nick ] ] == 1 ) {
- mode # +b $address($2,2)
- kick # $nick You Are Banned From This Channel
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement