mIRC Home    About    Download    Register    News    Help

Print Thread
#114612 15/03/05 08:17 PM
Joined: Mar 2005
Posts: 4
T
tjim5 Offline OP
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Mar 2005
Posts: 4
u know when ur in AIM and u get msged.. and it pops up in yellow from the toolbar? How can i get that done to mirc, i always forget its there

#114613 15/03/05 11:10 PM
Joined: Oct 2004
Posts: 31
B
Ameglian cow
Offline
Ameglian cow
B
Joined: Oct 2004
Posts: 31
You should be able to right click on the name of the window and hit "flashing"


Bear

#114614 16/03/05 02:26 AM
Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
i use a heavily modified version of this
http://www.mircscripts.org/comments.php?cid=2479

Altho its quite good without my modifications.

#114615 17/03/05 12:34 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
I've made you this little snippet that does the following:

  • When mIRC is not the active window, and the person that pm's you does not already have a notify window up, then a window will pop up above the system tray telling you got a pm on IRC from that person. The mIRC taskbar button will be highlighted.
  • If multiple people msg you, the boxes will be above each other, so 5 msgs shows 5 boxes (similar to msn messenger).
  • After an interval set by yourself, this window will auto-close.
  • If you click on this notify window, mIRC will become the active app and more specifically will make the query window of that person active (if he hasn't changed his nick in the interval). I put the color in a form of yellow now, but I've made the option that you can enter what rgb value you want for the boxes yourself. The text is in black though.
  • There is a switch in the menu bar under the item "Command" to enable/disable this snippet.
  • Snippet made for mIRC 6.16, to use on older versions you'll have to replace $v1 with $ifmatch.


Code:
menu menubar {
  -
  $iif($group(#tray) == on,Disable,Enable) Tray Popups: $iif($group(#tray) == on,disable,enable) #tray
}
 [color:red]  [/color] 
#tray on
on *:TEXT:*:?: if !$appactive && !$window(@tray. $+ $nick) { flash | tray [color:blue]255,248,134[/color][color:brown] 6[/color] }
 [color:red]  [/color] 
alias tray {
  if !$rgb( [ $1 ] ) || $2 !isnum { return }
  var %win = @tray. $+ $nick
  var %y = $calc($iif($window(@tray.*,0),$window(@tray.*,1).y - (80 * $v1 ),$window(-1).h - 80))
  window -hdofp +bL %win $calc($window(-1).w - 200) %y 200 80
  drawfill -r %win $rgb( [ $1 ] ) 1 0 0
  drawtext %win 1 tahoma 11 46 17 Message on IRC from:
  drawtext -o %win 1 tahoma 13 $floor($calc((200 - $width($nick,tahoma,13,1))/2)) 40 $nick
  .timer $+ %win 1 $2 close -@ %win
}
 [color:red]  [/color] 
menu @tray.* {
  sclick:{
    var %win = $mouse.win
    if $window($gettok(%win,2,46)) { window -a $v1 }
    else showmirc -s
    close -@ %win
    .timer $+ %win off
  }
}
#tray end

Here's a little screenshot:



Gone.

Link Copied to Clipboard