mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
Hello, first hope Soul_Eater see this thread, because i download at ms.org hes snippet, Notification Alert Window 1.0b and need help from him, or from any guy here.

;Notification Alert Window Alias 1.0b
;by Soul_Eater (c)2003
;Aim and Yahoo! sn: SoulEata
;This is a beta release, tips, comments, etc are appreciated.
;These were inspired by the notification boxes MSN and AIM instant messaging
;programs use, alias works as follows:
;//notification <rgb1> <rgb2> <fontname> <fontsize> <text> <delay>
;rgb1 = rgb bg color
;rgb2 = rgb txt color
;fontname = text fontname
;fontsize = text fontsize
;text = notification text
;delay = time to remain on screen

alias notification {
window -hapzk0 +de @noti 815 700 140 110
drawfill -r @noti $1 500 100 0 0
drawtext -r @noti $2 $3 $4 40 40 $5
drawtext -r @noti $2 $3 $calc($4 -2) 25 60 is on $network
drawsave @noti tmp1.bmp
window -c @noti
var %x 110
var %y 10
while (%y <= %x) {
window -haodpzk0 +Lde @noti 815 650 140 %y
drawfill -r @noti $1 500 100 0 0
inc %y 25
}
drawpic @noti 1 1 tmp1.bmp
.remove tmp1.bmp
.timerb 1 $6 window -c @noti
}


i need to use this snippet for notify, because like to see notify ON/OFF with notification window can any one made any code
On notify { and
On unotify { with that window

Hope Soul_Eater or any other smart guy here help me with this window notification, because like it a lot, really i appreciated much if anyone help, thanks

Last edited by Adriano; 12/06/04 08:53 PM.
Joined: Sep 2003
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
I made this for you :

Code:

;Notification Alert Window Alias 1.0b
;by Soul_Eater (c)2003
;Aim and Yahoo! sn: SoulEata
;This is a beta release, tips, comments, etc are appreciated.
;These were inspired by the notification boxes MSN and AIM instant messaging
;programs use, alias works as follows:
;//notification &lt;rgb1&gt; &lt;rgb2&gt; &lt;fontname&gt; &lt;fontsize&gt; &lt;text&gt; &lt;delay&gt;
;rgb1 = rgb bg color
;rgb2 = rgb txt color
;fontname = text fontname
;fontsize = text fontsize
;text = notification text
;delay = time to remain on screen

alias notification {
  window -hapzk0 +de @noti 815 700 140 110
  drawfill -r @noti $1 500 100 0 0
  drawtext -r @noti $2 $3 $4 40 40 $5
  drawtext -r @noti $2 $3 $4 25 60 is on $network
  drawsave @noti tmp1.bmp
  window -c @noti
  var %x 110
  var %y 10
  while (%y &lt;= %x) {
    window -haodpzk0 +Lde @noti 815 650 140 %y
    drawfill -r @noti $1 500 100 0 0
    inc %y 25
  }
  drawpic @noti 1 1 tmp1.bmp
  .remove tmp1.bmp
  .timerb 1 $6 window -c @noti
}

alias unotification {
  window -hapzk0 +de @noti 815 700 140 110
  drawfill -r @noti $1 500 100 0 0
  drawtext -r @noti $2 $3 $4 40 40 $5
  drawtext -r @noti $2 $3 $4 25 60 has left $network
  drawsave @noti tmp1.bmp
  window -c @noti
  var %x 110
  var %y 10
  while (%y &lt;= %x) {
    window -haodpzk0 +Lde @noti 815 650 140 %y
    drawfill -r @noti $1 500 100 0 0
    inc %y 25
  }
  drawpic @noti 1 1 tmp1.bmp
  .remove tmp1.bmp
  .timerb 1 $6 window -c @noti
}

on *:notify: { //notification $rgb(255,255,255) $rgb(0,0,0) Tahoma 12 $nick 5 }
on *:unotify: { //unotification $rgb(255,255,255) $rgb(255,0,0) Tahoma 12 $nick 5 }



I hope you like it.


Grtzz stimpy


***************************
To chat, or not to chat.
That's the question
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
Hope i like it?

Man! i love it, thanks a lot for code it for me, what can i say 1000 time thanks thanks you. i credit you for this great scripting. good job man really i appreciate your help.


Edit: ofcourse i credit also Soul_Eater author of the snippet

Last edited by Adriano; 13/06/04 05:31 PM.
Joined: Sep 2003
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
You're welcome


***************************
To chat, or not to chat.
That's the question

Link Copied to Clipboard