this is what i have: and it doesnt work

on @*:join:#Judges4You: { timer $+ $nick 0 4 idle $nick $chan }

ALIAS idle {
if ($nick !ishop $chan) && ($nick !isvoice $chan) && ($nick !isop $chan) { halt }
else ($nick($2,$1).idle >= 300) { /kick $chan $nick Anti-idle kick.You have more than 5 minutes idle }
}


how would i set it up using hash tabels? because the SECOND $nick there dosent know what nick... so it suisides... all i want it to do is kick someone who is less then +v that has been idle for 5 minutes... also on my server there is halfops... which is hop. im a half-op. i do have the powers to kick