DragonRyder commented on a Page, RAW Code  -  Dec 30, 2018

the raw numerics involved in a /whois I believe are as follows:
Raw Numerics: 276, 301, 307, 310, 311, 312, 313, 317, 318, 319, 320, 330, 335, 378, 379 and 671

The following snippet will echo the results to your active screen. Modify how you like.

raw 276:: { echo -a ¤Client Cert Fingerprint: $7 | halt }
raw 301:
: {
echo -a $smb ¤ $+ $2 is Away. Reason Stated: $3- $+
else { echo -a $smb $2 is Away. $sv(Reason,$3-) }
halt
}
raw 307:: { echo -a $smb ¤User Is A Registered Nick | halt }
raw 310:
: { echo -a ¤Helpful: $2 is available for help. | halt }
raw 311:: {
set -u1 %x 1
echo -a ¤WhoIs
echo -a ¤Nick: $2
echo -a ¤IdentD: $3
echo -a ¤Real Name: $6-
echo -a ¤Address: $+($2,!,$3,@,$4)
halt
}
raw 312:
: {
echo -a ¤Server Name: $3
echo -a ¤Server Info: $remove($4-,$chr(58))
halt
}
raw 313:: { echo -a ¤IRC Status: $5- | halt }
raw 317:
: {
echo -a ¤Has Been Signed On For: $replace($duration($calc($ctime - $4)),wk, Week,min, Minute,sec, Secound,day, Day,hr, Hour)
echo -a ¤Has Been Idle For: $replace($duration($3),wk, Week,min, Minute,sec, Secound,day, Day,hr, Hour)
halt
}
raw 318:: { echo -a /End Of WhoIs | halt }
raw 319:
: { echo -a Channels: $+ $replace($3-,~,~,&,&,@,@,%,%,+,+) | halt }
raw 320:: { echo -a ¤IRC Admin Info: $3- | halt }
raw 330:
: { echo -a ¤Logged In As: $3 | halt }
raw 335:: { echo -a ¤User Is A Bot | halt }
raw 378:
: { echo -a ¤Host: $6 ¤IP: $7 | halt }
raw 379:: { echo -a ¤User Modes: $6- | halt }
raw 671:
: { echo -a ¤Client Is Using A Secure Connection | halt }

DragonRyder  -  Dec 30, 2018

there is an asterisk between the :: so it should look like :*:

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.