Discuss Scratch

TY-11
Scratcher
5 posts

Voting Poll Script

Okay, I need a good voting poll script that will prevent from multi-voting (even when page refreshed) but will truthfully account for every vote. I'm trying to make a Star Wars Voting Poll for all episodes and movies. I have done everything I need, except for the fact, that the main objective of the project - a capable voting system, has not been found!

Here is my project " https://scratch.mit.edu/projects/174452447/ ".

Last edited by TY-11 (March 6, 2018 20:21:51)

deck26
Scratcher
1000+ posts

Voting Poll Script

Only possible with cloud lists and recent changes mean cloud variables are limited to 128 characters which pretty much means cloud lists are very limited and you'd only be able to allow 100 people or fewer to vote.
TY-11
Scratcher
5 posts

Voting Poll Script

deck26 wrote:

Only possible with cloud lists and recent changes mean cloud variables are limited to 128 characters which pretty much means cloud lists are very limited and you'd only be able to allow 100 people or fewer to vote.

Ok.
QuantumSingularity
Scratcher
1000+ posts

Voting Poll Script

(In response to our comment thread)
The additional script to add into your existing “if touching mouse pointer” scripts is:

if <mouse down?> then
if <not <[cloud list v] contains (username) ?>> then
change [(☁ (variable for this particular movie)) v] by (1)
add (username) to [cloud list v]
There may or may not be an additional "Update Cloud List" custom block in my Cloud List. If there is, add it here.
end
end

Powered by DjangoBB