mIRC Home    About    Download    Register    News    Help

Print Thread
#110663 09/02/05 03:33 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
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.

#110664 09/02/05 03:44 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
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.

Last edited by LethPhaos; 09/02/05 03:49 PM.
#110665 11/02/05 01:55 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
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-


Link Copied to Clipboard