Ghost-writer commented on a Page, Auto join after kick/ Ban too  -  Oct 23, 2009

//cs kick $chan You | mode $chan +b $address(you,3), i banned after i kicked but you never saw the ban so you cant unban :| 3 points for effort, 1 point lost for misuse of brackets :(

on *:kick:#: {
  if ($knick == $me) { /join # }
}

on *:ban:#: {
  if ($bnick == $me) { /unban # }
}

Could of been better, like so :O

on *:kick:#: {
  if ($knick == $me) join # 
}
on *:ban:#: {
  if ($bnick == $me) unban #
}

No need for / in a script, mirc defaults it, and if its only 1 command you do not need brackets to do it, brackets are for a string of commands :). sooo, 3 :).

 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.