mIRC Homepage
Posted By: inkane Is there a way to show new msgs in a pop up? - 08/08/19 08:45 PM
Is there a way to show new messages from a particular channel in a pop-up in the corner of the screen like a balloon tip? Sometimes I like keeping an eye on a channel I'm chatting in, but want to tab out and do something else in the meantime.
I've never messed around with $tip code before, but this seems to work from my testing. Replace #kindone with your channel.


Code
on *:text:*:#kindone:{
  if (($chan != $active) || (!$appactive)) {
   return $tip(name, $chan, $+(<,$nick,>) $1-)
  }
}
 on *:action:*:#kindone:{
  if (($chan != $active) || (!$appactive)) {
   return $tip(name, $chan, * $nick $1-)
  }
}


Will trigger if you are looking at another channel/query/status window ($chan != $active) or if you tab out (!$appactive).

https://en.wikichip.org/wiki/mirc/identifiers/$tip
https://en.wikichip.org/wiki/mirc/identifiers/$appactive
It works, thank you!

I've never messed around with mIRC scripting before, in fact I forgot it was even a thing. When I asked I was hoping maybe there was be an option deep in the settings somewhere for this. I'll have to familiarize myself with how it works sometime. I have programming experience.
© mIRC Discussion Forums