mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2019
Posts: 3
inkane Offline OP
Self-satisfied door
OP Offline
Self-satisfied door
Joined: Aug 2019
Posts: 3
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.

Joined: Feb 2011
Posts: 448
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
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

Joined: Aug 2019
Posts: 3
inkane Offline OP
Self-satisfied door
OP Offline
Self-satisfied door
Joined: Aug 2019
Posts: 3
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.

Last edited by inkane; 11/08/19 03:16 AM.

Link Copied to Clipboard