It is already set to kick voices and normals. I excluded ops and halfops from being kicked.
For a bot:
on @:TEXT:!idler:?: { .check.idle $1 }
Just message the bot with the room name and if it has ops, it will perform the check.
!idler #roomname