this is a simple command to clean justin.tv channel without mod.
chat can only clean the owner of the bot
!clear
on *:TEXT:!clear:#:CHANNEL-NAME-HERE: {
if ($nick == NICK-OWNER) {
msg /clear
msg $chan the chat has ben cleared by $upper($nick) }
else { describe $chan you cant used this command $nick only owner cant used } halt
}
on *:TEXT:!clear:#:CHANNEL-NAME-HERE: {
would be incorrect it should be
on *:TEXT:!clear:#channamehere: {
and why do it that way when you can just leave # in it and have it work on any channel the bot is in?
on *:TEXT:!clear:#:{
also to make it so it only works if the bot is mod you can do
on @*:TEXT:!clear:#: {