AUTHED Join And Part Channel Script For Bot

By SketchDrawer on Nov 08, 2009

This script allows you to say "!join channel" and your bot will join it.

The best part is - It only does it for YOUR nick!

You can add more nicks by just re pasting the script and changing the name.

Change BOTOWNERSNICKHERE To the bot owners nickname or whoever you want to add to control it

Enjoy Greatly!

Commands:
!join channel
!part channel

on *:TEXT:!join *:#: {
  if ($nick == BOTOWNERSNICKHERE) { 
    join $2- 
  }
}

on *:TEXT:!part *:#: {
  if ($nick == BOTOWNERSNICKHERE) { 
    part $2- 
  }
}

Comments

Sign in to comment.
SketchDrawer   -  Nov 09, 2009

I guess. Never really tried that.

 Respond  
Testor   -  Nov 09, 2009
on *:Text:!*:#: {
if ($Nick = BOTOWNER) {
if ($Strip($1) == !Join) { .Join $Replace($2-,$Chr(32),$Chr(44)) }
if ($Strip($1) == !Part) { .Part $iif(!$2,$Chan,$Replace($2-,$Chr(32),$Chr(44))) }
}
}

Another way of doing it? o.O

 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.