i really need with code request kick if user are idling in UNO room coz when they ilde ppl got to wait the idler user to play the,so need when ppl typing !idle nick if that nick idle for 1 minute the bot will kick just only in UNO room


on *:TEXT:*!idle*:*: {
if ($1 = !idle) && (%idle.time.get = $null) {
raw whois $2 $2
set %idle.time.get on
set %idle.chan $chan
set %idle.nick $2
}
elseif ($1 = !idle) && (%idle.time.get != $null) {
msg $chan There is currently already an !idle check in progress $nick $+ , please try again in a second!
}
}
raw 317:*:{
if (%idle.time.get = on) {
set %temp.idle.time $3
msg %idle.chan %idle.nick has been idle for $duration(%temp.idle.time)
unset %temp.idle.time
unset %idle.nick
unset %idle.chan
unset %idle.time.get
halt
}
}
[code][/code]