Archive > 0.4.x Custom/Unofficial Modules

Vote Core module and Simple Vote

(1/2) > >>

Glarawyn:
About the module:
This is a core module to deal with holding an election/poll/vote on BeBot 0.4. Votes are not maintained on a bot restart, so it is designed to be a short (seconds or minutes) poll. Results of the vote are recorded to the database for future reference.

The Vote_Core.php module will help you in creating your own modules that use voting.

I've included SimpleVote.php which is what I used to test things. SimpleVote lets you create a simple yes/no vote.

Commands provided by Vote_Core.php:
/tell yourbot !vote <voteid> <option>

Commands provided by SimpleVote.php:
/tell yourbot !simplevote Enter a yes/no question here.

Installation:
Extract VoteCore_1.0.0.zip to your custom directory.

Download:
VoteCore_1.0.0.zip

Glarawyn:
Updated to 1.0.0.

laryllan:
Very nice module!  :)

Is there a way to see the vote results yet?
Can I start a vote with multiple options?

IKShadow:
I get error now after the bebot update .. on line 98

Temar:
This Module is for 0.4.x u need this to be able to use with 0.5.x

http://bebot.link/0-5-x-customunofficial-modules/0-4_support-for-latest-0-5/

Navigation

[0] Message Index

[#] Next page

Go to full version