Warning.png This article or section is currently undergoing major changes by PrincessPandaLover (talk | contribs). Please avoid largely modifying this page's contents until this template has been removed. (Date?)

A countdown is something which would explain how many days (or another time form) are left until a certain event starts. Projects can also have countdowns too. Here's how to make one.

List

First, you need a list. A list is a feature which allows you too stall multiple values at once. Create a list called Dates or anything you want to call it.

Okay, for each item in the list (except the last), it need to be the last date of the months before the month of the event. The first item will have the last date of the current month and the last one will have the date of the event. For example, we're making a countdown to Scratch Day 2015 and it's currently March.

when gf clicked
delete (all v) of [Dates v]
add [31] to [Dates v]
add [30] to [Dates v]
add [9] to [Dates v]

Computing the countdown

Here, we now have the list but the countdown isn't complete! Create a variable called Days left (since we're using days) or whatever you want to call it.

Back to our list, we need to have this script which completes the countdown. The first month will be the current month and the last month will be the month of the event.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.