This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Namedays, Birthdays reminder script
#2
You can create a table where keys are dates and values are names. This way you don't need so many if statements.
Code:
Dates = {
[2209] = "Maigurs, Mārica, Māris",
[2309] = "Vanda, Veneranda, Venija",
}
Nameday = Dates[ Today ]
Reply


Messages In This Thread
RE: Namedays, Birthdays reminder script - by admin - 26.09.2019, 07:55

Forum Jump: