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!