This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

voting script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
S
Stars20
Voice
Posts: 2
Joined: Fri Dec 21, 2012 7:23 am

voting script

Post by Stars20 »

Someone please help I 'm looking for a simple voting script.tcl

can be modify irc channel where to tell bot echo votes result

!vote start <--staring voting

!vote timer 10 m <--timer starting in 10 minutes

!vote end <--vote ending

!vote y <-- vote yes

!vote n <-- vote no

!vote result <--shows person nick name #yes/#no

somehow tell bot to keep track hostname this prevent people voting multiple time on same hostmask
That would be greatly appreciated
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

There are several vote scripts already available on egghelp.org script archive.

Have you tried these 2....

Channel Voter by Loki`: Fully featured voting script.
See extended description -> http://www.egghelp.org/files/tcl/desc/510.desc
Or download it -> http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=510

QuickVote by DrN : Allows you to have quick and dirty yes/no voting questions in a channel. Votes can be via channel command or via message command.
See extended description -> http://www.egghelp.org/files/tcl/desc/531.desc
Or download it -> http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=531

If one of these functions, and is close to what you're looking for, maybe we can edit it some to do exactly what you're shooting for.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

Actually I think I like this one...

aVote 1.1b 24/02/2003 arcane : Voting script with user-defined answers. English version. http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=789

Seems simple and easy to work on:)
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
S
Stars20
Voice
Posts: 2
Joined: Fri Dec 21, 2012 7:23 am

Post by Stars20 »

thank you for reply, i did tried vote.tcl and vote102.tcl those 2 are does not work that why i asked..
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

Question about this...
!vote timer 10 m <--timer starting in 10 minutes
It reads that we are going to wait 10 minutes before the voting begins.
Is that really what you ment?

Or do you mean start voting now, and close the voting in 10 minutes?

Also, are all these !vote commands public (typed in the voting channel window)?

May I argue 1 more time that this script already seems to do everything you are looking for, and more...
aVote 1.1b 24/02/2003 arcane : Voting script with user-defined answers. English version.
http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=789
and already comes translated to several languages.
I loaded it and it seems to work fine. what is it doing or not doing that you don't like?
The script you are asking for is no simple matter, and looks to me like it's already been done:)


Let me know because I'm thinking of giving the script or aVote modifications a shot.
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Post Reply