Holiday: Difference between revisions
Jump to navigation
Jump to search
imported>Relyk No edit summary |
imported>Relyk No edit summary |
||
Line 12: | Line 12: | ||
}}| | }}| | ||
function_description=A string representation of the | function_description=A string representation of the {{kolwiki|Kingdom of Loathing Calendar|in-game holiday}}. Returns an empty string otherwise.| | ||
code1={{CodeSample| | code1={{CodeSample| |
Latest revision as of 03:15, 27 September 2015
Function Syntax
string holiday()
A string representation of the in-game holiday. Returns an empty string otherwise.
Code Samples
if(holiday() == "Veracity's Birthday")
private_message("veracity", "Happy Birthday!");
CLI Equivalent
Also available as the CLI command "holiday".