mIRC Home    About    Download    Register    News    Help

Print Thread
Is there a way to show new msgs in a pop up? #265876 08/08/19 08:45 PM
Joined: Aug 2019
Posts: 2
I
inkane Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
I
Joined: Aug 2019
Posts: 2
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.

Re: Is there a way to show new msgs in a pop up? [Re: inkane] #265884 09/08/19 05:44 PM
Joined: Feb 2011
Posts: 325
K
KindOne Offline
Fjord artisan
Offline
Fjord artisan
K
Joined: Feb 2011
Posts: 325
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


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: Is there a way to show new msgs in a pop up? [Re: KindOne] #265898 11/08/19 03:15 AM
Joined: Aug 2019
Posts: 2
I
inkane Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
I
Joined: Aug 2019
Posts: 2
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.