Module:Splash: Difference between revisions

271 bytes added ,  31 December 2023
m
Added BTA birthday and Halloween splashes and updated New Year splash
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
m (Added BTA birthday and Halloween splashes and updated New Year splash)
Line 31: Line 31:
elseif os.date("*t", os.time()).month == 5 and os.date("*t", os.time()).day == 17 then
elseif os.date("*t", os.time()).month == 5 and os.date("*t", os.time()).day == 17 then
randomSplash = "Happy birthday, Minecraft!"
randomSplash = "Happy birthday, Minecraft!"
elseif os.date("*t", os.time()).month == 7 and os.date("*t", os.time()).day == 20 then
randomSplash = "Happy birthday, Better than Adventure!"
elseif os.date("*t", os.time()).month == 12 and os.date("*t", os.time()).day == 24 then
elseif os.date("*t", os.time()).month == 12 and os.date("*t", os.time()).day == 24 then
randomSplash = "Merry X-mas!"
randomSplash = "Merry X-mas!"
elseif os.date("*t", os.time()).month == 1 and os.date("*t", os.time()).day == 1 then
elseif os.date("*t", os.time()).month == 1 and os.date("*t", os.time()).day == 1 then
randomSplash = "Happy new year!"
randomSplash = "Happy Halloween!"
elseif os.date("*t", os.time()).month == 10 and os.date("*t", os.time()).day == 31 then
randomSplash = "Happy New Year!"
else
else
randomSplash = splashes.splashes[math.random(#splashes.splashes)]
randomSplash = splashes.splashes[math.random(#splashes.splashes)]