Code:
on 1:text:!idle *:#: {
  .whois $2 $2
  set %idlechan $chan
}
raw 317:*: {
  msg %idlechan $deltok($deltok($1-,5-8,32),1-3,32)
  unset %idlechan
}


It returns a large number, i assume in seconds so i tried to wrap $duration() around it and it came up with more than the actual idle time. Can someone help me out? smile