!join !leave Channels

By Maluda on Nov 06, 2015

Commands:
!join Channel
!leave Channel
!ajoin add Channel
!ajoin del Channel

 on *:TEXT:!join *:#: {
  if ($nick == YourNick) {
    msg $chan I will join $2 at once.
    /j $2 
  }
  elseif ($nick != YourNick) {
    msg $chan You are not YourNick!
  }
}
on *:TEXT:!leave *:#: {
  if ($nick == YourNick) {
    msg $chan I will leave $2 at once.
    /leave $2 
  }
  elseif ($nick != YourNick) {
    msg $chan You are not YourNick!
  }
}
on *:TEXT:!ajoin *:#: {
  if ($nick == YourNick) { 
    if ($2 == add) { /ns ajoin add $3 } { msg $chan $3 has been added to my ajoin List! }
    if ($2 == del) { /ns ajoin del $3 } { msg $chan $3 has been deleted from my ajoin List! }

    elseif ($nick != YourNick) {
      msg $chan You are not YourNick!
    }
  }
} 

Just Copy the script and paste it in your Remote,and replace "YourNick" to your NickName
and if you want it works with more than Name..

if ($nick == YourNick1 || $nick == YourNick2 || $nick == YourNick3 || $nick == YourNick4)

Comments

Sign in to comment.
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.