My daycount: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Bale (talk | contribs)
started page
(No difference)

Revision as of 23:18, 15 November 2010

Function Syntax

int my_daycount()

Returns the number of days since the logged-in character started their current ascension.

Code Sample

How long is the current daycount?

int days = my_daycount();
string name = my_name();
print("It has been "+ days +" days since "+ name +"'s current ascension began.");

Special

When not logged in, this function returns $class[none].