title: How to create a poll system for IRC using Pirc
body: <p>I'm a beginner java user, and beginning streamer on Twitch.tv. I have been working on developing an IRC bot all night that would streamline moderation on my channel (I want to have that level of customization that using a cookie cutter IRC bot can't give).</p>
  
  <p>One thing that is stumbling me is poll creation. I have looked through the Pirc javadocs and there is no command as far as I can see that checks for messages sent by a channel op, which is crucial to keeping trolls from creating polls, and with my limited knowledge I do not know how to grab extra parameters from a message.</p>
  
  <p>What I want is this:</p>
  
  <pre><code>!poll &lt;question&gt; &lt;c1&gt; &lt;c2&gt; &lt;c3&gt; &lt;seconds&gt;
  </code></pre>
  
  <p>Any help here? I will add you to my thanks screen on my outro for each stream.</p>