Code:
on *:text:!raid *:#:{
  if ($len($2) >= 3) && ($2 != $null) {
    msg $chan The stream is over everyone. Let's raid someone! Go to http://www.twitch.tv/ $+ $2 and say in the chat 'Custom text here'
  }
}


Just a more simple, less spammy way of doing this. I added a check to ensure the character count of the inputted channel is 3 or more since twitch does not seem to hold any accounts below 3 characters, and if they do they are most likely not accessible by the community as I have spent a fair time looking.

Of course if you want it only to be used by operators just use ($nick isop $chan), read from a file, or create a hash to read the users from that are moderators in the channel.

Good luck to whoever makes use of this.