Jump to content
chain

channelstats

Recommended Posts

  • Administrators
Posted
> ;**********************************
;Type in /chanstats
;Make sure active window is a channel
;************************************

alias chanstats {
  if ($active == $chan) {
    var %c = $chan
    echo -a $str(=,50)
    echo -a Channel Statistics for %c / 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! }
}

<

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...