mIRC Home    About    Download    Register    News    Help

Print Thread
#172034 04/03/07 12:50 PM
D
DuXxXieJ
DuXxXieJ
D
Let me see...:

You're whoising somebody..
You see:

$nick is $address
$nick is on <channels

I've got the first one as a script.. But i want the channels.
If i say !chan lal i need to see :

Lal is on <chan1> <chan2> <chan3>

...


#172044 04/03/07 05:28 PM
Joined: Oct 2005
Posts: 1,671
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,671
Replies from the /whois command are all RAWs. You can use this code (in a new script file) to find out which RAW you need to work with:

Code:
;raw *:*:{ echo -s $numeric $+ : $1- | haltdef }



Just remove the comment at the beginning of the line to activate the display. Once you find the raw you need, recomment that line.

-genius_at_work

#172107 05/03/07 05:24 PM
C
CtrlAltDel
CtrlAltDel
C
raw 319 is channels

Code:
raw 319:*: { 
  echo -a Channels: $sorttok($3-,32,c)
  halt 
}

#172214 07/03/07 11:53 AM
D
DuXxXieJ
DuXxXieJ
D
K, ty it works


Whoops..
No it doesn't work.
It is echo'ng, it needs to msg the chan where they do !whois <nick>
....


Last edited by DuXxXieJ; 07/03/07 12:37 PM.
#172218 07/03/07 02:00 PM
L
learn3r
learn3r
L
on *:text:!channel *:#:{
if ($2) whois $2
set %cc $chan
}
raw 319:*: {
msg %cc Channels: $sorttok($3-,32,c)
halt
}


Link Copied to Clipboard