mIRC Home    About    Download    Register    News    Help

Print Thread
#172034 04/03/07 12:50 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
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>

...



Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #172044 04/03/07 05:28 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
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

DuXxXieJ #172107 05/03/07 05:24 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
raw 319 is channels

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


I refuse to engage in a battle of wits with an unarmed person. wink
CtrlAltDel #172214 07/03/07 11:53 AM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
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.

Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #172218 07/03/07 02:00 PM
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
on *:text:!channel *:#:{
if ($2) whois $2
set %cc $chan
}
raw 319:*: {
msg %cc Channels: $sorttok($3-,32,c)
halt
}


learn learn learn

Link Copied to Clipboard