Notify Script

Platform:  mIRC
Published  Nov 17, 2007
Updated  Nov 17, 2007
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 on *:TEXT:$(* $+ $me $+ *):#: {
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
}
}

Comments

Sign in to comment.
PATX   -  Apr 29, 2009
AdamRock: i see ur a newb/idiot.

on *:TEXT:$(* $+ $me $+ *):#: {
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
}
msg $chan $nick has been alerted.
}

 Respond  
AdamRock   -  Apr 13, 2009
...
 Respond  
Avathar   -  Feb 21, 2008
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.
 Respond  
Avathar   -  Feb 21, 2008
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
 
 Respond  
Lindrian   -  Nov 17, 2007
Well, if highlight is off, then you most likely dont want to be notified?
 Respond  
F*U*R*B*Y*   -  Nov 17, 2007
yeah, say you don\'t have highlight on
 Respond  
Lindrian   -  Nov 17, 2007
$highlight($1-) will check if anything in the text matches your highlight settings (alt+b, -> Highlight)
 Respond  
F*U*R*B*Y*   -  Nov 17, 2007
sorry for double post, but why use if ($highlight($1-)) { ????
 Respond  
F*U*R*B*Y*   -  Nov 17, 2007
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
 Respond  
Lindrian   -  Nov 17, 2007
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
 
 Respond  
Lindrian   -  Nov 17, 2007
Seems alright, just by looking at the code.
but at this line
Code
 

Dont you mean,
Code
 
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.