it depends a bit on the definition of being idle here, if it is reset after sending anything to the channel (message, nick change, etc) then you can check $nick(#help,$me).idle in your script.

if this is #help on quakenet, this should work.

wiebe