Simple event counter

By Andrew on Nov 03, 2006

To load, just copy and paste it into your remotes section.
To use type /stats to echo the stats to yourself, and type /statsp to make your stats public.

alias stats {
  echo $target You have seen: $calc(%kikcnt) Kicks - $calc(%bancnt) Bans - $calc(%opcnt) Ops - $calc(%vocnt) Voices | //echo You have performed: $calc(%mykikcnt) Kicks - $calc(%mybancnt) Bans - $calc(%myopcnt) Ops - $calc(%myvocnt) Voices

}

alias statsp {
  msg # I have seen: $calc(%kikcnt) Kicks - $calc(%bancnt) Bans - $calc(%opcnt) Ops - $calc(%vocnt) Voices | //msg # I have performed: $calc(%mykikcnt) Kicks - $calc(%mybancnt) Bans - $calc(%myopcnt) Ops - $calc(%myvocnt) Voices

}

on *:KICK:#: if ($nick == $me) inc %mykikcnt
on *:BAN:#: if ($nick == $me) inc %mybancnt
on *:OP:#: if ($nick == $me) inc %myopcnt
on *:KICK:#: inc %kikcnt
on *:BAN:#: inc %bancnt
on *:OP:#: inc %opcnt

Comments

Sign in to comment.
Andrew   -  Nov 14, 2006

Yea, that\'ll work lol. Thanks.

 Respond  
Noutrious   -  Nov 13, 2006

cough little mistake - $calc(myvocnt) should be $calc(%myvocnt)

 Respond  
Noutrious   -  Nov 13, 2006

Personally i think it`s ok 6/10

 Respond  
Andrew   -  Nov 05, 2006

I know what you mean. But I know that people just starting out are interested in these types of scritps, and with as simple as it is I think it\'d be easy to learn from.

 Respond  
technikal   -  Nov 05, 2006

Yeah it works. I just dont see the use of it tho.
Especially on networks where people use auto voice for everyone that enters.

 Respond  
Marshtomp   -  Nov 04, 2006

Yeah... A bit simple. Not really anything to comment.. It looks okay.

 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.