Difference between revisions of "My daycount"
Jump to navigation
Jump to search
imported>Bale (started page) |
imported>Bale (see also my_turncount()) |
||
Line 23: | Line 23: | ||
</syntaxhighlight>}}| | </syntaxhighlight>}}| | ||
− | special=When not logged in, this function returns | + | see_also={{SeeAlso|my_turncount}}| |
+ | special=When not logged in, this function returns 0. | ||
}} | }} | ||
[[Category:Your Character]] | [[Category:Your Character]] |
Latest revision as of 23:21, 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.");
See Also
Special
When not logged in, this function returns 0.