What is Everyone On Channel?

By Zybez on Mar 26, 2006

Just lists what everyone is in channel.

Ussage:
/ops
/hops
/voices

alias ops {
  echo 4 * Listing Ops on #
  set %i 1
  :next
  set %nick $nick(#,%i)
  if %nick == $null goto done
  if %nick isop # echo 4 %nick is an Op!
  inc %i
  goto next
  :done
  echo 4 * End of Ops list
}

alias hops {
  echo 4 * Listing Halfops on #
  set %i 1
  :next
  set %nick $nick(#,%i)
  if %nick == $null goto done
 if %nick ishop # echo 7 %nick is a Half Op!
  inc %i
  goto next
  :done
  echo 4 * End of Halfops list
}

alias Voices {
  echo 4 * Listing Voices on #
  set %i 1
  :next
  set %nick $nick(#,%i)
  if %nick == $null goto done
  if %nick isvoice # echo 12 %nick is voiced!
  inc %i
  goto next
  :done
  echo 4 * End of Voices list
}

Comments

Sign in to comment.
Gforce20   -  Nov 24, 2007

This is useful for me because I didn\'t know how to list all nicks on a channel before looking through here. :)

 Respond  
Zybez   -  Mar 27, 2006

Dif aliases. and dif colors. and doesnt list all in /ops. i know i edited, easier for nubs. and if you wanna make it a dialog, go for it... im not good with dialogs at all :(

 Respond  
xDaeMoN   -  Mar 26, 2006

This is just the same as the snippet made by pureblood (http://www.hawkee.com/snippet.php?snippet_id=1803), except that you made different aliases.

 Respond  
ZabuzaMomochi   -  Mar 26, 2006

I dont really see the use of this snippet. Unless the channel is extremely popular.

 Respond  
XRaGeX   -  Mar 26, 2006

not bad... but i would make a dialog for it.... it will be easier

 Respond  
Zybez   -  Mar 26, 2006

May edit... idc

 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.