Addon: Echo highlights to new window - Printable Version

+- Forums (
+-- Forum: Public Forums (
+--- Forum: IRC Discussions (
+---- Forum: KVIrc (
+---- Thread: Addon: Echo highlights to new window (/thread-46.html)

Addon: Echo highlights to new window - immortal - 22-10-2011

Right, we all do like to have a new window to see who is typing our nick! or the words we added to highlights..
Quote:The highlight settings at "Configure KVIrc, IRC, Tools, Alerts/Highlight"
Sounds at  "Configure KVIrc, General Options, Sound"

So now lets make new window for our highlights.
It would be simple as using parse code as we did for popups and aliases, or as well using "Scripting, Event editor" ill go for simpler way and let you guys play with the "Scripting editors" to find out some things yourself.

Here is the file just "/parse filepath" it  ie: /parse "C:/Program Files/KVIrc/defscript/highlight.kvs"
Scripting , Execute Script and double click the file you downloaded.

    echo The Highlights script has been uninstalled succesfully.
    if($window.type() == "channel") {
    %type = $
    } else {
    %type = $tr("Query");
    %msg = $ @ $fmtlink(%type $0 : $3 ,window.activate $window,"Double Click to Show the Channel or Query")
    if ($window.exists(%Highlights)) {
    echo -w=%Highlights %msg
    } else {
    %Highlights = $"mq","Highlights",0,219)
    log.start -w=$window(Highlights) -p Highlights$date("d.m.Y").log
    echo -w=%Highlights %msg
# Highlights Windows :)
echo Highlights 1.0 installed succesfuly :P
echo You can always uninstall it by using 'Manage Addons' from the "Settings" menu.