For the 1st one you can use $msgtags(display-name).key to get the display-name.(I think that's what you were asking about :P)

For the 2nd you can use; on *:parseline:in:*whisper*!test*:


Matti