I would like to reopen this topic because I've ran into the same problem, whenever using $msgtags(user-name).key would always bounce back to me?

Reason I'm using is a cheer script which whenever someone with a localized display name, instead of awarding chat currency to the user (with the localized name) it would always give me it instead. This is the original code I'm working with:

on $*:text:/(^|\s)cheer\d+(\s|$)/i:#: {
  if ($msgtags(bits).key <= 9) { return }
  if (($msgtags(room-id).key == 62729480) && ($msgtags(bits).key)) {
    msg # !bonus $msgtags(display-name).key $msgtags(bits).key