if (word(2 $loadinfo()) != [pf]) { load -pf $word(1 $loadinfo()); return; }; # Copyright (c) 2004 BlackJac@EFNet # # Version: 1.2.2005.03.04.1 # # This script will notify you when one of your highlighted words # or phrases is said in a hidden window. package highlight_notify; # Watch for these words or phrases in your channels (leave a space # between each word): assign HIGHLIGHT_NOTIFY_LIST example1 example2 "example phrase1"; fe (public public_other) hh { ^on #-$hh 4 '% % *\\\\[$$HIGHLIGHT_NOTIFY_LIST\\\\]*' { @ :window = winchan($1); if (!winvisible($window)) { xecho -b -c $0 in $1 said one of your highlighted words/phrases [window #$window]; }; }; };