What seems to be the problem omgnicecode?
The only thing that I can seem to think of that some people told me about was this: if ($chan != $active) {. That part of the script that is written in the above snippet means that the script will not activate while you are in the channel you are being highlighted in. Test the script out by having someone highlight you in a channel you are not looking in at that moment.
If you have any other problems, come to /server chat.frostwire.com and come ask me there. My nick is David.