mIRC Snippets

Name:Channel Stats
Description: Display some statistics of current active channel.

Code below...
> ;**********************************
;
Type in /chanstats
;Make sure active window is a channel
;************************************

alias chanstats {
  if (
$active == $chan) {
    var %
$chan
    
echo -a $str(=,50)
    echo -
a Channel Statistics for %Mode$chan(%c).mode
    
echo -a Total Users$nick(%c,0) / $iif($chan(%c).limit,$chan(%c).limit,No Limit Set)
    echo -
a Op(s): $nick(%c,0,o
    echo -
a Halfop(s): $nick(%c,0,h
    echo -
a Voice(s): $nick(%c,0,v
    echo -
a Regular(s): $nick(%c,0,r
    echo -
a $str(=,50)
  }
  else { echo -
a Current active window is not a channel! }
}

<

« Back to mIRC Snippets

Home | Site Map | Privacy Policy | Advertising | Contact Us
Copyright © 2006-2014 r2xDesign.net - All Rights Reserved.
eXTReMe Tracker