mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2008
Posts: 24
W
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Jul 2008
Posts: 24
Hey all,
I dont suppose it is possible to call a raw event if you have the number? Eg. Without doing a whois, get the channels a nick is in using the 319 raw number?

Hope what im asking makes sense...

Thanks


=======================
Count WhipLash
Services Administrator
KnightNet
=======================
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
I'm afraid you can't do that. Raw events are only sent as replies to certain commands. In this case, raw 319 is a reply to the /whois command.

Joined: Jul 2008
Posts: 24
W
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Jul 2008
Posts: 24
Ok, then the next think i would like to ask is, is it possible to get the channels a user is in without having to whois? And of course manually go look for the user..


=======================
Count WhipLash
Services Administrator
KnightNet
=======================
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Only if you're on the same channels.

Code:
alias commonchannels {
  var %i = 1, %chans
  while ($comchan($$1,%i)) {
    %chans = %chans $v1
    inc %i
  }
  echo -a * I share channels $qt(%chans) with $1.
}


/commonchannels <nick>


Link Copied to Clipboard