Top

Notify Script


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  8.0
Scores Submitted  1
Date Added  Nov 17, 2007
Last Updated  Nov 17, 2007
Tags  codes  mirc  notify  xstatic 
  Bookmark and Share

Introduction

Just a simple notify script, have to be using the new mIRC Version 6.31 as it uses the $tip command...

could most probably be done easier but this was 5 minutes work and it worked so i thought i should become more active on here and post it

Grab the Code

Comments

  (9)  RSS
Lindrian
Comments: 755
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 5:09 am
Seems alright, just by looking at the code.
but at this line
Code:

($version !< 6.31)

Dont you mean,
Code:

($version != 6.31)
Lindrian
Comments: 755
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 5:17 am
Sorry for the doubble post, but you can use set -u instead of using a timer to remove the variable.
/help /set

Also; this is how id code it:
Code:

on *:TEXT:*:*: {
  if ($highlight($1-)) {
    if (($version == 6.31) && (!%tip. [ $+ [ $nick ] ])) {
      noop $tip('Tray Tip', $nick , $nick just said your name in $chan with the following message:, 10)
      noop $tip('Tray Tip', Message, $1-, 10)
      beep
      set -u20 %tip. [ $+ [ $nick ] ] true
    }
    else {
      beep
    }
  }
}
F*U*R*B*Y*
Comments: 574
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 5:20 am
well when version 6.32 comes out it wouldn't work but still contain the tip tool, so with your addon/change it wouldn't work in 6.32 and yeah i knew about the -u part, just forgot how to use it :P
F*U*R*B*Y*
Comments: 574
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 5:21 am
sorry for double post, but why use if ($highlight($1-)) { ????
Lindrian
Comments: 755
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 6:40 am
$highlight($1-) will check if anything in the text matches your highlight settings (alt+b, -> Highlight)
F*U*R*B*Y*
Comments: 574
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 6:53 am
yeah, say you don't have highlight on
Lindrian
Comments: 755
 
mIRC Snippet:  Notify Script
Posted on Nov 17, 2007 6:55 am
Well, if highlight is off, then you most likely dont want to be notified?
Avathar
Comments: 2
 
mIRC Snippet:  Notify Script
Posted on Feb 21, 2008 4:15 pm
Just made a similar one using this snippet as a base(err...maybe just modifying) and find it slightly more of use to me, hope you dont mind posting the modified version here.

Code:

on *:TEXT:*:*: {
  if ($highlight($1-)) {
    if (($version == 6.31) && (!%tip. [ $+ [ $chan ] ])) {
      noop $tip('Tray Tip',$chan , $nick just said $1-, 10)
      set -u20 %tip. [ $+ [ $nick ] ] true
    }
  }
}
Avathar
Comments: 2
 
mIRC Snippet:  Notify Script
Posted on Feb 21, 2008 4:18 pm
Its my first ever scripting ive done for mirc so be patient with me, this version of the original tip script is slightly less annoying in the way that it only displays one message rather than two tips for every highlights and it uses the highlight list rather than checking only for your name.

Please Register or Login to start posting comments.
Bottom