mIRC Home    About    Download    Register    News    Help

Print Thread
U
Ur_Insan3
Ur_Insan3
U
Trying to make a script that will whois a person, but I don't know where to proceed from here.

The point of the script is to whois the string specified, then return the value back to the person. I wwas hoping to return the part where it shows which channels a nick is on.

Code:
on *:TEXT:!whois *:#: {
  /raw WHOIS $2
echo 4
}
 


Any help is greatly appreciated =]

L
learn3r
learn3r
L
RAW 319

U
Ur_Insan3
Ur_Insan3
U
Code:
on *:TEXT:!whois *:#: {
  /RAW 319 WHOIS $2
echo 4
}


That right? Because I got
Code:
-> Server: 319 WHOIS pure_insan3
In the status box

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Raws are done like this:

Code:
on *:TEXT:!whois *:#: {
  WHOIS $2
  set %whois.nick $nick
}

RAW 319:*: {
  msg %whois.nick $3-
  unset %whois.nick
}

U
Ur_Insan3
Ur_Insan3
U
Thanks! =]


Link Copied to Clipboard