Although you can use regex, it may be easier to just tokenize it.

Code:
on *:text:!poll *:#:{
  tokenize 44 $2-
  var %option1 = $1
  var %option2 = $2
  var %option3 = $3
}


Of course, you can shorten that and adjust it as needed. That's just an example with everything spread out so it's easy to see and understand. Also, if you are typing it on the same client as the script, you'd want to make that an on INPUT event instead, but the rest is the same.


Invision Support
#Invision on irc.irchighway.net