Holiday

From Kolmafia
Revision as of 03:15, 27 September 2015 by imported>Relyk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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".