Kirby commented on a Page, Kick Me/Ban Me/KickBan Me  -  Mar 16, 2009

Sounds okay. :-)

You can also use the power of the prefixes that mIRC's default /ban has, to kick+ban the user.

On *:Text:!kickbanme:#: {
  /kick $chan $nick Kick + 30 second ban by request
  mode $chan +b $nick
  .timer 1 30 mode $chan -b $nick
}

can be also rewritten as
on *:text:!kickbanme:#: { !ban -ku30 # $nick Kick + 30 second ban by request }The -k switch means to 'kick', and the u30 switch means to (unban or unset, either one works) in N seconds. The 2 after the $nick is the ban mask. The kind of ban mask you supplied wasn't a real one as it was a nick ban. I prefer using mask 2 as it is the most "unique" ban mask out of all of them.
In this situation where you're "playing around", almost any ban mask is fine, unless you share a channel with a few dozen New Yorkers with the same ISP. You can use the same concept that I used, but with the "ban me".

If you noticed, I put

/!ban

instead of

/ban

.
Using ! before a command means taking the original one (very useful when dealing with common mIRC default aliases such as /kick and /ban). This means it won't take any modified aliases that a person who might use this script has; it's safer this way, and can prevent errors.

 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.