Lovely little script, however I am missing one vital information: who said the word I'm looking for? I want to use it as a "highlight rememberer" so to speak, for while I am not at my PC or not in chat to quickly get an overview if someone asked for me. With a name I could get back to them quickly. I tried adding the nickname myself, but more or less just broke the script by doing so. Is there an (easy) way?
I've fixed the script in the sections where it sends the highlight to include nickname. Lines 17 and 28 contain the echo commands that would echo it to your active window, in which I added < $+ $nick $+ > before $1-. Could be shortened with $+(<,$nick,>) as well. And lines 15 and 26 have also been updated to include the nickname before the text highlighted.