Jethro commented on a Page, Chat clearer [Justin.tv only]  -  May 28, 2011

Your code has bracket misplaced and halt used unnecessarily. This is the edit:

on *:TEXT:!chatclear:#:{   
  if ($nick isop #) {
    tokenize 44 /clear, $+ $nick has cleared the chatroom!
    msg # $*
  }
  else { 
    .notice $nick you  not authorized to use this command 
  } 
}

You can tokenize it so you only need one msg command.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.