Pulls remaining: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>Bale mNo edit summary |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 29: | Line 28: | ||
special=Returns 0 when not logged in. | special=Returns 0 when not logged in. | ||
}} | }} | ||
[[Category:Item Management]] |
Revision as of 21:44, 21 May 2010
Function Syntax
int pulls_remaining()
Returns the number of pulls remaining for the day for characters in-Ronin, or 0 otherwise.
Code Sample
The following checks to see if you've forgotten to use up your daily pulls.
if (pulls_remaining() > 0) {
print("You still have " + pulls_remaining() + " pulls you can make today.");
} else {
print("You're all set on daily pulls.");
}
Special
Returns 0 when not logged in.