mIRC Home    About    Download    Register    News    Help

Print Thread
'on highlight' tip #183053 17/08/07 02:15 PM
Joined: Dec 2002
Posts: 21
V
Vile Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Dec 2002
Posts: 21
on highlight tooltip

Re: 'on highlight' tip [Re: Vile] #183061 17/08/07 02:28 PM
Joined: Apr 2006
Posts: 3
F
Fussel Offline
Self-satisified door
Offline
Self-satisified door
F
Joined: Apr 2006
Posts: 3
This function is already implemented, just look into your highlight settings! wink

Re: 'on highlight' tip [Re: Fussel] #183109 17/08/07 08:17 PM
Joined: Dec 2002
Posts: 21
V
Vile Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Dec 2002
Posts: 21
you win this round...

Re: 'on highlight' tip [Re: Vile] #183111 17/08/07 09:30 PM
Joined: Aug 2007
Posts: 12
S
segosu Offline
Pikka bird
Offline
Pikka bird
S
Joined: Aug 2007
Posts: 12
It kind of sucks though, seeing as it doesn't even display the line that matched.

I find it better to disable it from mIRC's options and use this:
Code:
on *:TEXT:*:#: {
  if (*nick* !iswm $1-) return 
  if (!$appactive) noop $tip(highlight, Highlight $network, $+([,$chan,]) < $+ $nick $+ > $1-,,,,, $window($chan).wid)
}

on *:ACTION:*:#: {
  if (*nick* !iswm $1-) return 
  if (!$appactive) noop $tip(highlight, Highlight $network, $+([,$chan,]) * $nick $1-,,,,, $window($chan).wid)
}

Last edited by segosu; 17/08/07 10:52 PM.
Re: 'on highlight' tip [Re: segosu] #183188 18/08/07 09:56 AM
Joined: Aug 2007
Posts: 42
L
Lusht Offline
Ameglian cow
Offline
Ameglian cow
L
Joined: Aug 2007
Posts: 42
Hmm... may be like that:

For example, our nick is Gredo

Code:
on $*:text:/(^|\s)([gG][rR][eE][dD][oO])/iS:*: {
*some IFs*
noop $tip(hl_top,Highlight,$+([,$time,]) $+(<,$nick,>) $1-,7,$null,$null,$null,$null)
}
}


"Do, or do not. There is no 'try'." - Yoda ('The Empire Strikes Back')
Re: 'on highlight' tip [Re: Lusht] #183201 18/08/07 10:57 AM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,876
Seeing as you've used the /i switch, you don't need to use [gG][rR] etc, because /i makes it a case-insensitive match.