Forgot to add in the kick command in the last post, and the edit time has expired. Here's the code with kick added in.

Code:
on 1:text:!tban *:[color:red]#Channel[/color]:{
  if ($2 ison [color:red]#Channel[/color] && $3 isnum) {
    timer 1 $3 mode [color:red]#Channel[/color] +b $address($nick,2)
    timer 1 $3 kick [color:red]#Channel[/color] $2
  }
  else if ($3 !isnum) {
    notice $nick Invalid format. Use !tban <nick> <wait-time>
  }
  else {
    notice $nick $2 is not on [color:red]#Channel[/color]
  }
}