[TWITCH] Raid Script

By Blood_Wolf89 on Apr 01, 2015

I am new to this and here is one of the first command I made my self.
I made a simple !raid script. All you do is type !raid [channel] and the output will be.. "The stream is over everyone. Let's go raid someone! Go to http://www.twitch.tv/[channel] and say in the chat 'Wolf Raid!!!' ". Dont forget to edit the message!

on *:TEXT:!raid *:#: {
  if ($nick == $chan) {
    if ($$0 < 2) { msg # Insufficient parameters, use !raid [channel name] }
    else { .timermsg 10 0 msg # The Host is over everyone. Let's go raid someone! Go to http://www.twitch.tv/ $+ $2 and say in the chat 'Wolf Raid!!!' } 
  } 
  else { msg # /me Only the Host has acces to the raid command! 
  msg # .timeout $nick 300 | msg # $nick $+ , You have been timed out for 5 min. for trying to provoke a false raid. }
}

If a user is willing to try and run the !raid command, they will get timed out for 5 min.

Let me know your thoughts. Thanks!

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.