manager bot owner

By Gran_lider_negro on Jan 30, 2012

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
}

Comments

Sign in to comment.
napa182   -  Jan 31, 2012

Jethro Wrote

What is this?
($me(#,$me,~&)
lol funny anyways this snippet looks almost just like the other 3 or 4 posted here. =/
2/10

 Respond  
Lenooox   -  Jan 31, 2012
on *:TEXT:!clear:#: {
if ($nick == NICK-OWNER) {
    /clear
  msg $chan the chat has ben cleared by ( $nick ) }
  else {
  describe $chan Sorry $nick but you cant use this command ! only owner can use it ! }
}

or
/clearall

 Respond  
Lenooox   -  Jan 31, 2012

:)

 Respond  
Jethro   -  Jan 31, 2012

What is this?> ($me(#,$me,~&)

 Respond  
TochA1551   -  Jan 31, 2012
on *:TEXT:!clear:#: {
if ($nick(#,$nick,~&) || ($me(#,$me,~&) {
msg /clear
msg $chan the chat has ben cleared by ( $nick ) }
else { 
describe $chan Sorry $nick but you cant use this command ! only owner can use it ! }
}

Can be too ;)
}

 Respond  
blackvenomm666   -  Jan 30, 2012
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:#: {
 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.