BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.4.x Custom/Unofficial Modules => Topic started by: Glarawyn on January 22, 2008, 02:24:02 am

Title: Vote Core module and Simple Vote
Post by: Glarawyn on January 22, 2008, 02:24:02 am
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 (http://zibby.isa-geek.net/BeBot_0.4/Vote/VoteCore_1.0.0.zip)
Title: Re: Vote Core module and Simple Vote
Post by: Glarawyn on January 30, 2008, 01:31:55 am
Updated to 1.0.0.
Title: Re: Vote Core module and Simple Vote
Post by: laryllan on January 31, 2008, 11:43:27 am
Very nice module!  :)

Is there a way to see the vote results yet?
Can I start a vote with multiple options?
Title: Re: Vote Core module and Simple Vote
Post by: IKShadow on November 18, 2008, 08:58:39 pm
I get error now after the bebot update .. on line 98
Title: Re: Vote Core module and Simple Vote
Post by: Temar on November 19, 2008, 01:15:43 am
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/
Title: Re: Vote Core module and Simple Vote
Post by: IKShadow on November 19, 2008, 10:57:07 am
Wierd this module worked with BeBot 0.5.4
Title: Re: Vote Core module and Simple Vote
Post by: Temar on November 19, 2008, 03:26:52 pm
thats not possible
i looked at the code and the code was definity 0.4.x
Due to a Big change from 0.4 to 0.5 99% of modules wont work as normal and need support module
maybe u didnt have it loaded?
SimplePortal 2.3.7 © 2008-2024, SimplePortal