If you are referring to $nick().idle then any text, notice, action, ctcp, join or nick change will affect it. On part & quit are useless because they cause the nick to be removed from $nick(). During any of those events the idle value isn't updated until the end of the event or you call /updatenl