Gameday to string
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Function Syntax
string gameday_to_string()
Returns the current KoL game date, where rollover is the start of a new day, using the in game calendar.
Code Samples
This code will print a special message if it's Bill 3, the day for the Generic Summer holiday.
if (gameday_to_string() == "Bill 3") {
print("I feel like taking a dip in the fountain today!");
}
CLI Equivalent
The CLI command "moon" will also print the current game date along with other information.