KilllerX commented on a Page, clear chat  -  Jul 07, 2011

This will trigger if someone types c in a chatroom that you aren't a mod in...
Try something like

ON @*:text:c:#: {
 if ($nick isop #) { 
 .timerclear 1 1 msg # .clear 
 .timerclear 1 5 msg # $nick has cleared the chat.
}
else { describe Permission denied }
}

This will make it so that. you have to be op'ed (modded). and rather then using multiple messages quickly in a row it waits a few seconds to say "$nick cleared the chat"

.clear in JTV is the same as doing a /clear in jtv.

 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.