mIRC Home    About    Download    Register    News    Help

Print Thread
#76259 23/03/04 08:56 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
maybe stupid quetsion but what the hell...

is it possible to make info echo about some channel like:
how many users, topic, and channel modes WITHOUT
/list and /names commands and without going into it ?

if yes, how ?

#76260 23/03/04 09:04 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
you could use /who , other than that, no.

#76261 23/03/04 10:31 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
on 1:join:#:{

.who #

}

raw 315:*:{
echo $color(info2) -bflirt $2 *** $&
Modos: $chan($2).mode $&
Usuarios: $nick($2,0) $&
Ops: $nick($2,0,o) $&
Voz: $nick($2,0,v) $&
Regulares: $nick($2,0,r) $&
Away: $eval($+(%,Me.Join.Away.,$2),2
}

try to finish its just a begining

:O)


mess with the best
#76262 23/03/04 10:49 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
i said without joining in chan :P

tnx anyway for effort

#76263 24/03/04 09:03 AM
Joined: Jan 2003
Posts: 428
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Jan 2003
Posts: 428
Depending on network, you can obtain mode information, ban information, I-line information etc. from outside the channel by using /mode #channel <switches> grin (Hint, you may need to send the command twice to get a result). This won't show you channel limits afaik, and won't show you the key if +k is set (obviously).

/names would only show you users not set invisible from outside a channel, so is probably useless in this context anyway. /list shows channel size and topic but (a) you don't want to use it, and (b) would flood you off on some networks even if filtered for a particular channelname only.

I suppose if the channel is registered there, you could always script some sockets to get the latest user count from somewhere like SearchIrc.com... but that seems horribly complicated shocked

PM


IRCnet & DALnet @#travelersinn
:-: IRC for fun and relaxation :-:
#76264 25/03/04 11:43 PM
Joined: Jul 2003
Posts: 6
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Jul 2003
Posts: 6
I don't recommend pulling data from SearchIRC that way, especially since they provide easy to use javascript that already contains those features:

http://searchirc.com/request_channel_stats.php

(In case you were wondering where I got the link, it's on the left-side of any search results page)


Link Copied to Clipboard