script

If we’re going to be simplifying so much, why not…

[b]if day of (current date) is in {10, 20} then display dialog "Frog Blast The Vent Core!"

–chris :wink:

: mikey-san@bungie.org wrote:
:
: This can be simplified a bit, as you don’t actually need the
: integer-to-string coercion (you don’t need to explicitly
: declare the run handler either):
: set theDay to day of (current date)
: if theDay is equal to 10 then
: display dialog “They’re Everywhere!”
: else if theDay is equal to 20 then
: display dialog “Thank God It’s You!”
: end if
:
: If the message is the same every time, you can simplify it even
: further:
: set theDay to day of (current date)
: if theDay is in {10, 20} then
: display dialog “Frog Blast The Vent Core!”
: end if
:
: has :slight_smile: