Simple Counter

By WiZaRD__ on Feb 06, 2014

With this script you can easily see how many times someone calls your name when you are online.

(Script is not done, help needed)

;Simple Counter Script
;Made by: WiZaRD
;Date edited: 7 February 2014
;Language: Netherlands

on $*:TEXT:$(/( $+ $me $+ |nick1|nick2)/Si):*:{
  inc %highlights
}

on *:input:*: {
  if ($1 == !counter) && ($2 == $null) {
    .timer 1 1 msg $chan Ik ben in totaal al $bytes(%highlights,bd) keer geroepen.
}
  elseif ($1 == !counter) && ($2 != $null) && ($2 !isnum) {
  .timer 1 1 msg $chan Ik ben in totaal $bytes($iif($($+(%, highlights,$2),2),$($+(%, highlights,$2),2),0),bd) keer geroepen $iif(($left($2,1) == $chr(35)),in,door) $+ $2
}
  elseif ($1 == !counter) && ($2 >= 1) {
  var %i = 2
  while (%i <= $var(%highlights*, 0)) {
  if ($var(%highlights*,%i).value >= $2) $iif(*#* iswm $($var(%highlights*,%i),0),noop,inc %x)
  inc %i
}

Comments

Sign in to comment.
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.