on :text::#:{
if ($1 == !poll) {
...
set -e %pollchannel #
...
}
alias resultpollcode {
...
msg %pollchannel 12{{<<< Results: %pollresults 12>>>}}
...
so by seeing this it msgs the channel the result. since its not working for you i would probably say you are talking to a bot using this script not in a channel. if you did this in a channel and not chat then im sorry but i cant help since its been like a year since i quit.