finding channel total per client

Discussion of and help with popular IRC Clients.

Moderators: Website/Forum Admins, Software/IRC Clients Moderators

biggy
Posts: 16
Joined: Thu Aug 14, 2003 7:26 pm

finding channel total per client

Postby biggy » Mon Sep 08, 2003 5:50 am

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.
User avatar
munky
Site Admin
Posts: 826
Joined: Wed Jul 02, 2003 4:54 pm
Location: Phoenix AZ
Contact:

Postby munky » Mon Sep 08, 2003 12:27 pm

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.
In God we trust,
Everyone else must have an X.509 certificate.
User avatar
corrupt
Site Admin
Posts: 81
Joined: Wed Jul 02, 2003 1:08 pm
Location: Danville, KY
Contact:

Postby corrupt » Mon Sep 08, 2003 1:04 pm

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).
Josh Baird
[corrupt]@EFNet
O: irc.choopa.net
User avatar
HM2K
Posts: 209
Joined: Thu Jul 24, 2003 5:34 pm
Location: UK
Contact:

Postby HM2K » Mon Sep 08, 2003 3:15 pm

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
}
- HM2K - https://hm2k.org/
mikehardy998
Posts: 1
Joined: Mon Apr 02, 2012 10:11 pm

Re: finding channel total per client

Postby mikehardy998 » Tue Apr 03, 2012 9:16 pm

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
User avatar
Handle With Care
Posts: 212
Joined: Wed Oct 26, 2005 6:53 pm
Location: Southern California

Re: finding channel total per client

Postby Handle With Care » Tue Apr 03, 2012 10:59 pm

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.
EFnet IRC Network Forum Moderator
IRC Operator (IRCOp) irc.Prison.NET
Sic transit gloria mundi.

Who is online

Users browsing this forum: No registered users and 1 guest