My turncount

From Kolmafia
Revision as of 18:27, 28 February 2010 by imported>StDoodle
Jump to navigation Jump to search



Function Syntax

int my_turncount()

This function returns the total number of adventures used thus far by the logged-in character during the current ascension.

Code Sample

// mocks you if you've spent too many turns this ascension
if (my_turncount() > 2000) {
   print("Shouldn't you ascend soon?");
}

See Also

can_interact()

Special

When not logged in, this function returns 0.