Aucun50 commented on a Page, Make ur bot come and leave a channel  -  Apr 20, 2009

Basic, only need one on text like:

on *:TEXT:*:#: {
  if ($1 == !join) { join $2 }
  elseif ($1 == !part) { part $2 }
}

Then again you could add some error checks like:

on *:TEXT:*:#: {
  if ($1 == !join) {
    if (!$2) { msg $chan No channel entered }
    if ($chr(35) !isin $2) { join $chr(35) $+ $2 }
    else { join $2 }
  }
}

And so on for !part

 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.