Hi,
I'm using this custom whois reply:
alias aecho { echo 04 -a 12[*] $replace($1-,,11,,04) }
[color:red] [/color]
#whois on
raw 311:*:{
haltdef
linesep $active
aecho $str($chr(35),4) [Whois] $str($chr(35),4)
aecho Nick: $2
aecho Host: $+($3,@,$4)
aecho Real name: $6-
}
raw 301:*:{ haltdef | aecho Away msg: $3- }
raw 307:*:{ haltdef | aecho $2- }
raw 310:*:{ haltdef | aecho Using modes: $6 }
raw 312:*:{ haltdef | aecho Server: $3- }
raw 313:*:{ haltdef | aecho $2- }
raw 317:*:{ haltdef | aecho Idle: $duration($3) $+ , signed on $asctime($4) }
raw 318:*:{ haltdef | linesep $active }
raw 319:*:{ haltdef | aecho Channels: $3- }
raw 320:*:{ haltdef | aecho Hostmask: $4- }
raw 401:*:{ haltdef | aecho $2- }
#whois end
As others have stated (e.g. Iori) there might be some differences depending on what network, however these raw's already cover quite a few.
Btw, you see that the "whois script" is grouped by #whois on and #whois end. If you ever want to see your normal reply again, then simply change the on to off. (#whois off). In case you did not know that.
Also note that I'm using the following alias:
alias aecho { echo 04 -a 12[*] $replace($1-,,11,,04) }
The alias does the following: put the color red as first color hence the echo 04 ... Then it will replace a double ctrl+k with the light blue color, and the double ctrl+r with the color red again. (of course whether these colors are red and light blue really depends on what you have set the colors to, but well in a fresh new mirc client, that is what colors those color codes represent)
As an example:
Putting "aecho this part is red because of the echo 04,
this part is blue cuz of the double ctrl+k,this part is red again cuz of the double ctrl+r"
will have as output:
[color:blue][*][/color][color:red] this part is red because of the echo 04,[/color][color:blue]this part is blue cuz of the double ctrl+k,[/color]
[color:red]this part is red again cuz of the double ctrl+r[/color]
Note that you could expand this alias so that it also replaces the ctrl+o, or ctrl+u with some other colors to your likings. You see this is a handy trick as if you ever want to change your colors, you will simply have to change them once in the alias aecho, and not worry about changing the raws, as they will change along with the alias.
Then finally, if you want to see a good overview for all the different raw events, then I suggest downloading
Jeepster's Numeric Helpfile (right click, save target as)
Hope this was somewhat helpful for you,
Greetz