sith_ commented on a Page, Kick,Ban,kill counter  -  Jul 02, 2007

The way it is, it won\'t add 1 to the kick, kill, etc. this way will work.

menu channel {
Counter
.Kill\'s ( $+ %kill.count $+ )
..Resrt Counter:/set %kill.count 0
.Kicks ( $+ %kick.count $+ )
..Reset Counter:/set %kick.count 0
.Bans ( $+ %ban.count $+ )
..Reset Counter:/set %ban.count 0
}
alias kick {
inc %kick.count 1
kick $chan $1 $2- ) ( $calc(%kick.count + 1)
}
alias kill {
inc %kill.count 1
kill $1 $2- ) ( $calc(%kill.count + 1)
}
alias ban {
inc %ban.count 1
mode $chan +b $1- | /msg $chan Ban $calc(%ban.count + 1)
}

 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.