* PoiXons * Simple * Kick * Counter

By PoiXon on Nov 14, 2004

When u Kick Someone type /kicker instead and it will keep a count of how many kicks u have and type /reset to reset the amount of kicks !!

alias kicker {
  kick $chan $1 4,1Kicks Number:" %counter "
  inc %counter 1
}
alias reset {
  echo Kick Counter Has Been Reset !
  unset %counter
}

Comments

Sign in to comment.
DarthReven   -  Nov 21, 2004

ok one issue you cant use $calc(%counter + 1) if %counter was never set what you want to try is some along the lines of alias kicker { if (%counter) { kick $chan $1 Kick Number: $calc(%counter + 1) | inc %counter } | else { set %counter 1 | kick $chan $1 Kick number: 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.