Difference between revisions of "Turns played"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(Answered RFI)
imported>Bale
m
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Your Character|
 
  
 
function1={{Function|
 
function1={{Function|
Line 22: Line 21:
 
special=When not logged in, this function returns 0.
 
special=When not logged in, this function returns 0.
 
}}
 
}}
 +
 +
[[Category:Your Character]]

Revision as of 21:32, 21 May 2010

needs(code_samples);

Function Syntax

int turns_played()

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

This exactly duplicates the function my_turncount(). Indications are that it was added as part at attempt to support semirare counters, but nothing ever came of it. Oops. Discussion here.

See Also

my_turncount()

Special

When not logged in, this function returns 0.