/whod
Posted by KilledInAction
Tuesday, March 16, 2004
Description: How many people are really in your channel (see through +D/d)


;Usage: /whod [channel]
alias whod { if (($chan) && ($left($1,1) != $chr(35))) set %dchan $chan
  elseif ($chan) set %dchan $1
  elseif ($left($1,1) == $chr(35)) set %dchan $1
  else { echo -a You must specify/be on a channel | return }
  set %waitd 1
  set %dwho 0
  .raw names -d %dchan
}

raw 355:*: if (%waitd == 1) { inc %dwho $numtok($4-,32) | haltdef }
raw 366:*: if (%waitd == 1) { unset %waitd | echo -a %dwho people hidden under usermode +D/d in channel %dchan ( $+ $calc(%dwho + $nick(%dchan,0)) total people in the channel) | haltdef }
I think its a bug
Posted by varunpp
Wednesday, March 17, 2004 11:29am PST
351 people hidden under usermode +D/d in channel #Findscrim (+ total people in the channel)

When ur not in a channel...It shows the number of hidden peopple in channel but it wont show (+ total people in the channel )
Kinda... not really
Posted by KilledInAction
Wednesday, March 17, 2004 12:50pm PST
Well it's more just laziness on my part.  I just pasted this from what I've used forever.  I have never had a need for it outside of channels I am in and I never made it so you were able to do that although I knew you could not do it in channels you weren't in.

*edit*  I did forget one space though that would throw it off a bit.  It still doesn't completely work when you aren't in a channel (says the total users is the number of users hidden)... but I may get around to fixing that.
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world