Page 1 of 1

finding channel total per client

Posted: Mon Sep 08, 2003 5:50 am
by biggy
Is there an easy way to find out how many channels a given client is on other than a /whois <nick> and count the channels? even automating a script to do it, i'm afraid of serverside flooding.
The reason being I'm starting to have problems with what I call channel whores. These being ppl on 20, 30, 40+ public channels for sole use of mass inviting.

Posted: Mon Sep 08, 2003 12:27 pm
by munky
no, there is no other way to do it other than /whois. how you script this depends on what client you use. i haven't used mirc in a couple years, so i can't help you much with that.

Posted: Mon Sep 08, 2003 1:04 pm
by corrupt
The only way you can do this is with /whois. If you are using mIRC, you can /whois each client that joins "secretly" (that is, without you seeing the results) using a couple raw statements like:

raw 319:*: { haltdef }
raw 312:*: { haltdef }
..
..
raw 318:*: { echo -a   14` | haltdef }

Channels are in 319, so you would need to add some code to count the number of channels (using tokens).

Posted: Mon Sep 08, 2003 3:15 pm
by HM2K
I wrote this little mIRC script a while back, not sure if its any help.

Code: Select all

alias whatchans { ;v0.3
  if !$1 { echo $colour(info2) * Usage: /whatchans <nick> | return }
  var %i = $comchan($1,0)
  var %j = 0
  var %k
  if (%i == $null) { echo $colour(info2) * $1 isn't on any matching channels | return }
  :start
  inc %j
  var %k = %k $comchan($1,%j)
  if (%i == %j) { echo $colour(info2) * $1 matches %i channels: %k }
  else goto start
}

Re: finding channel total per client

Posted: Tue Apr 03, 2012 9:16 pm
by mikehardy998
biggy wrote:Is there an easy way to find out how many channels a given client is on other than a /whois <nick> and count the channels? even automating a script to do it, i'm afraid of serverside flooding.
The reason being I'm starting to have problems with what I call channel whores. These being ppl on 20, 30, 40+ public channels for sole use of mass inviting.
I need to know how to get in to a channel

Re: finding channel total per client

Posted: Tue Apr 03, 2012 10:59 pm
by Handle With Care
mikehardy998 wrote: I need to know how to get in to a channel
Just type /join #channel unless the channel is invite-only or keyed, in which case a channel op there will have to invite you or give you the key. Server opers cannot help you with that.