mIRC Home    About    Download    Register    News    Help

Print Thread
#88179 25/06/04 10:27 PM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Can someone tell me the raw code for the first line in a whois?
Example: (red text line)
-
Phase is Phase@ phase.users.*******.net * Phase
Phase is connecting from ***************.********.**.*******.***
Phase is a registered nick
Phase on #Chat
Phase using ********.**.**.*******.**
Phase has been idle 5mins 14secs, signed on Thu Jun 24 13:49:46
phase End of /WHOIS list.
-

if there isn't a way to get just that part, then the whole line will do..

Thanks in advance

#88180 25/06/04 10:29 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
on dalnet it's raw 302. When in doubt of a raw code, use the /debug on feature and then just run the debug.log file (or the other alternatives that others will show you about the debug command) smile


Those who fail history are doomed to repeat it
#88181 25/06/04 10:32 PM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Thanks, landonsandor, it's 311 on the server i connect to., but if anybody can tell me how i can make it display just that line, let me know

#88182 26/06/04 12:07 AM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
..though if loading debug file annoys you /debug @debug works too..

the line you more than likely want is..

raw 311:*:{ echo -s - $numeric : $2- }

$numeric telling you the RAW number (311) and $2- because $1 shows your nickname regardless, so display the entire raw line..

If you want to halt lines from being displayed in mIRC:

raw NUMERIC:*:{ haltdef }

Eamonn.


Link Copied to Clipboard