mIRC Homepage
Posted By: Bullseye highlight notifyer - 09/02/05 03:33 PM
I found this notifyer butt it doesnt' work.
The script looks goos to me butt then again i;m new.
maybe you can help ?
here is de code :

; Notify Window stuff here
on 1:text:*:#:{ if ($highlight(. $+ $1-) != $null) { window -g0lwz @highlight -1 -1 560 120 ; aline @highlight 12[ $+ $chan $+ ] $timestamp < $+ $nick $+ > $1- } }
on 1:text:*:?:{ if ($highlight(. $+ $1-) != $null) { window -g0lwz @highlight -1 -1 560 120 ; aline @highlight 12[$+ $nick $+ ] $timestamp < $+ $nick $+ > $1- } }
on 1:action:*:#:{ if ($highlight(. $+ $1-) != $null) { window -g0lwz @highlight -1 -1 560 120 ; aline @highlight 12[ $+ $chan $+ ] $timestamp < $+ $nick $+ > $1- } }
on 1:action:*:?:{ if ($highlight(. $+ $1-) != $null) { window -g0lwz @highlight -1 -1 560 120 ; aline @highlight 12[ $+ $nick $+ ] $timestamp < $+ $nick $+ > $1- } }

This is all i have.
Posted By: LethPhaos Re: highlight notifyer - 09/02/05 03:44 PM
I have this highlight script:
Code:
on *:text:*:#:{
  if $highlight($nick $1-) {
    window -k0e @Highlights
    aline @Highlights $timestamp < $+ HIGHLIGHT: $nick @ $chan $+ > $1-
    window -g0n @Highlights
    if ( $chan !== $active || $cid != $activecid ) {
      echo -alt < $+ HIGHLIGHT: $nick @ $chan $+ > $1-
    }
    if !$appactive { talk You were highlighted by $nick in $remove($chan,$chr(35)) }
  }
}
alias talk {
  .gload -h talk default
  .gtalk talk $$1-
}
on *:agent:if ( $agentname == talk ) { .gunload talk }


It tells you (litterally) when you are highlighted while mirc app is inactive, when active it just echoes the highlight to active window.
All highlights are echoed in a custom window too.

EDIT: if you want to really make it talk you need to install a text)to)speech engine. More info here.
Posted By: Iori Re: highlight notifyer - 11/02/05 01:55 PM
Mostly it didn't work because of the ; which should be |
on 1:text:*:#:{ if ($highlight(. $+ $1-) != $null) { window -g0lwz @highlight -1 -1 560 120 ; aline @highlight 12[ $+ $chan $+ ] $timestamp < $+ $nick $+ > $1- } }
on 1:text:*:#:{ if ($highlight(. $+ $1-) != $null) { window -g0lwz @highlight -1 -1 560 120 | aline @highlight 12[ $+ $chan $+ ] $timestamp < $+ $nick $+ > $1- } }

Try this one...
  • on *:text:*:*:if $highlight($nick $1-) { _hlite $1- }
    on *:action:*:*:if $highlight($nick $1-) { _hlite $1- }
    alias -l _hlite window -g0lwz @highlight -1 -1 560 120 | aline @highlight 12[ $+ $iif(#,#,$nick) $+ ] $timestamp < $+ $nick $+ > $1-
© mIRC Discussion Forums