Your forgot the braces

Code:
 on *:TEXT:!warn *:*:{
  if ($nick == %logged.in.nick) [color:red]{[/color] 
  set %warned.1 $2
  set %reason $4-
  /timer1 1 $3 .ban -ku $+ 30 $chan $2 $4-
  .msg $chan $2 is being warned because of %reason,they need to say sorry or they will be kbed for 30 secs in $3 seconds...
  .notice $2 you better say sorry, or you will be kicked...
[color:red]}[/color] 
}
on *:TEXT:sorry:#:{
  if ($nick == %warned.1) [color:red]{[/color] 
   /timer1 off
  .msg $chan %warned.1 says they're sorry for %reason
  .notice %warned.1 Next time there will be no warning... Just a KB!
 [color:red]}[/color] 
} 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!