Shoutbox

[Request]Poll Script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request]Poll Script (/showthread.php?tid=65149)

[Request]Poll Script by stephen_wq on 08-20-2006 at 05:36 AM

I would like a basic script where you can enter poll options, and ask people what they choose. Results could possibly be in the PSM.
People could vote once, by saying upon request
!pollvote [option number]
To get options
!polloptions

Those are for the person your talking to, but you can do a /polloptions to state them, which says something like:

Messenger Poll:

[Question]

[option number] [option description]
[option number] [option description]
[option number] [option description]
[option number] [option description]
[option number] [option description]

This obviously is the same as them saying !polloptions.

!pollresults will show the results of them, and you can turn off whether people can request this themselves, or you have to type /pollresults

Could be made better than that, but im sure thats a good base.
Thanks in advance.


RE: [Request]Poll Script by Spunky on 08-20-2006 at 11:33 PM

I may have a bash at making this... Obviously though, I'll make it so that questions get sent to online contacts only and that you can have an ignore list, as a few of my contacts might not like the continuous messages all the time.

Use 2 commands:
/pollsend to create the poll and send it
/pollresults to send ONLY people that participated the results

I'll use a PlusWnd object to create a form for making the poll. I'll let you know how it goes :p