Using $msgtags(display-name).key in mIRC

I don’t think it’s guaranteed that all users will have a display name in the tags. So you should check if the tag exists and is non-empty, and otherwise just use $nick. You could even make an identifier for this, so you just need to write $displaynick or something in the actual command response.

2 Likes