mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Re: whois everyone in the channel [Re: Kardafol] #174059 02/04/07 01:05 AM
Joined: Feb 2007
Posts: 28
S
sner Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2007
Posts: 28
I am using your code now, it's very amazing! no more disconnections so far..

But, i do have a silly question.. is it possible to exclude those who are (voiced & opped) in the channel?

Like for instance your nick has a (voice mode) +Kardafol in the channel and the code will not include you to be kicked out it's somehow like { halt } so that the script will ignore those who are having ops and voice mode.

=)


Re: whois everyone in the channel [Re: sner] #174061 02/04/07 01:10 AM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Change:
Code:
  var %chan = $iif($1 != $null,$1,$active), %y = $nick(%chan,0)
  echo -ac info * Performing /whois on all users in %chan $+ . $+($chr(40),%y users total,$chr(41))
  hmake xwhois 1
  while (%y) {
    hadd xwhois $nick(%chan,%y)


to:

Code:
 var %chan = $iif($1 != $null,$1,$active), %y = $nick(%chan,0,r)
  echo -ac info * Performing /whois on all users in %chan $+ . $+($chr(40),%y users total,$chr(41))
  hmake xwhois 1
  while (%y) {
    hadd xwhois $nick(%chan,%y,r)


(Add ,r to 2 places)


Invision Support
#Invision on irc.irchighway.net
Page 2 of 2 1 2