Kick, Ban, Akick simplifying

By Swat-Warrior on Feb 13, 2011

Simple things, pretty self-explanatory. Be sure to edit and into your own things, because that is going to sign your kicks.

Tested & functional, all written by me!
Enjoy!

alias kick {
  if ($2 == $null) {
    kick $chan $1 4P9ownage 4K9ick 4B9y 4<first letter of nick>9<rest of lettres>
  }
  else { 
    kick $chan $1 $2-
  }
}

alias ban {
  if ($2 == $null) {
    ban -k # $1 4B9anned 4B9y $+(4,$left($me,1),9,$right($me,-1),4)
    notice $1 You have been banned from # for reason: $2-
    msg # $me runs through the field, to $1 and punts them like a football!
  }
  else {
    ban -k $1 $2-
  }
}

alias akick {
  set %akick $1 #
  kick $1 4A9kick 4f9or 4l9ife4! 4Y9ou 4d9eserved 4i9t4!
}

alias clearakick {
  unset %akick 
  echo 4Akick was cleared! %akick
}

on *:JOIN:#: {
  if ($nick isin %akick) && ($chan isin %akick) {
    ban $nick 
    kick $nick  4A9kick 4f9or 4l9ife4!
  }
}

Comments

Sign in to comment.
MoshMage   -  Feb 23, 2011

man, all the time jethro speaks regex i feel more inclined to use it. :x damn you to hell Jethro xD

 Respond  
Jethro   -  Feb 13, 2011

Or:

$regsubex($me,/(.)/,4\19)
ban -k # $1 2

The -k switch will commence a kick. No real need to add a kick command.

 Respond  
napa182   -  Feb 13, 2011

lol

 Respond  
sunslayer   -  Feb 13, 2011

@napa182

$+(4,$left($me,1),9,$right($me,-1),4)

:p

 Respond  
napa182   -  Feb 13, 2011

you could have replaced

<first letter of nick>9<rest of lettres>

with

$me

an for all of ur kickban's
you could have used

ban -k # $1 2 4B9anned 4B9y 4 $me 4!

anyways nice work keep it up...

 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.