@hixxy this also makes refresh (for any code given) when
mirc isnt active window...

is there a way to make it that it only reacts on windows INSIDE mirc ?