Holiday

From Kolmafia
Revision as of 02:52, 27 September 2015 by imported>Relyk
Jump to navigation Jump to 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".