holiday()

From KoLMafia
Jump to: navigation, search

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".