tips notify on name called

By p0d on Dec 26, 2009

A little snippet for when someone says my name displays a small tooltip at the taskbar.
flood protection set to 30 seconds make changes however u wish.

For Mirc 6.35+

set your triggers /triggers name upto 3 triggers if you dont want to use all 3 then leave extra input boxes blank.

Sure this could be coded better but here it is anyways

Edited line :
$tip(called,Notify Alert,$nick on $chan,3,$null,$null,$null,$null)
to
$tip(called,Notify Alert,$nick on $chan,3)

thanx to Ghost-Writer for the tip

alias triggers { 
  set %trigger1 $$?="Set First name alias" 
  set %trigger2 $$?="Set Second Name alias"
  set %trigger3 $$?="Set Third Name alias"
  echo -a Triggers set as %trigger1 %trigger2 %trigger3 
}

on *:Text:*:#: { 
  if (%trigger1 isin $1-) || (%trigger2 isin $1-) || (%trigger3 isin $1-) { 
    if (!%called) { 
      set -u30 %called 1 
      return $tip(called,Notify Alert,$nick on $chan,3) 
    }
  }
}

Comments

Sign in to comment.
SnoooP   -  Jan 09, 2010

Yeah I totally agree, I have since incoorperated $tip into everything lol

 Respond  
p0d   -  Jan 09, 2010

Thanks i actually love the option $tip you can also click on it for kicks, changing active windows.. im sure even opening links. pretty useful i find it (Y)

 Respond  
SnoooP   -  Jan 02, 2010

Really good p0d :)... I've never considered $tip before good work :)

 Respond  
DeeperStill   -  Dec 29, 2009

ty

 Respond  
blitzz   -  Dec 29, 2009

No, DS it goes into your remote. Press Alt R

 Respond  
DeeperStill   -  Dec 29, 2009

This code goes in Aliases?

DS

 Respond  
p0d   -  Dec 26, 2009

Thanks for the suggestions .. nicely done gooshie

 Respond  
Jethro   -  Dec 26, 2009

Nice one, gooshie, with the use of $count() :-)

 Respond  
gooshie   -  Dec 26, 2009
on *:Text:*:#: { 
  if !%called && $count($strip($1-),$me,%trigger1,%trigger2,%trigger3) { 
    inc -u30 %called
    noop $tip(called,Notify Alert,$nick on #,3) 
  }
}
 Respond  
Ghost-writer   -  Dec 26, 2009

lol, you dont even have to put in $null, just leave it like ",," or just end it, so it could be,

$tip(called,Notify Alert,$nick on $chan,3)
 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.