!gtfo

By sadistic_sin on Jun 06, 2007

a script i made that makes your bot leave just type !gtfo (channel name here)

i have to put some extra crap in here.. says i cant submit it unless its 100+ characters.. dont copy and paste this lol its just so i can submit it

on *:TEXT:!gtfo*:#: {
  /part $2 later, please invite me back to your channel
}

Comments

Sign in to comment.
|MELIORITE|   -  Jun 06, 2007

If you can\'t get back to the channel on part, I\'m not sure anybody will know when to invite you back. If you only want it to work in the active channel ($2), then rather than enter the channel name: eg. !gtfo #channelname, it would be simpler to have something like:

on *:text:!gtfo:#: {
  part $active ...

since the snippet already only identifies the entry of text and the parting of the specified channel ($2). However, if you\'re bot is in 20 channels and you only want it to part a specified channel, the channel entry remains, but rather than having to go to that channel and type !gtfo <#chan>, you could msg the bot with the command:

on 500:text:!gtfo*:*: {
  part $2... 

This allows both a channel command and a private msg command to the bot. I have included for example, user level access 500, because if there are no access levels, as this currently stands, anybody could tell your bot to !gtfo...

 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.