Top

Kick Alias

Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  May 13, 2008
Last Updated  May 13, 2008
Tags  alias  helpful  ki  kick 

Introduction

This is pretty much a simple as hell kicking alias I whipped up in like a minute. You just put it in remote (duh) and type /ki on a channel where someone is annoying you. Then just do what the boxes ask you, and if the person's name you entered isn't on the channel, it won't work (But that's pretty obvious), and it asks if you wanna ban the person too :| Good luck and enjoy :P

Grab the Code

Comments

  (2)  RSS
mountaindew
Comments: 1,380
 
mIRC Snippet:  Kick Alias
Posted on May 13, 2008 7:16 pm
Couple suggestions:

1) you can do "unset %var %var2 %var3" rather than three lines
2) I would just do "if ($me !isreg $chan) { ;ask for inputs | ;kick etc }"
3) since you use "kick # %victim %kickmessage", you can just leave that outside the if's and do "if (%ban) mode # +b %victim"
napa182
Comments: 742
 
mIRC Snippet:  Kick Alias
Posted on May 13, 2008 8:03 pm
you can do it like this as well
Code:
alias ki {
  if ($me isreg $chan) { halt }
  else {
    var %victim $$?="Who would you like to kick?", %kickmessage $$?="What is your message to %victim $+ ?", %ban $?!="Would you like to ban %victim $+ ?(Yes or No)"
    if (%victim ison $chan) {
      if (%ban) { ban -k # %victim 2 %kickmessage }
      else { kick # %victim %kickmessage }
    }
  }
}


Please Register or Login to start posting comments.
Bottom