Difference between revisions of "Pulls remaining"
Jump to navigation
Jump to search
imported>Alhifar m |
imported>StDoodle m |
||
Line 1: | Line 1: | ||
− | {{#vardefine:name|pulls_remaining}} | + | {{ |
− | {{#vardefine:return_type|int}} | + | #vardefine:name|pulls_remaining}}{{ |
+ | #vardefine:return_type|int}}{{ | ||
− | + | FunctionPage| | |
name={{#var:name}}| | name={{#var:name}}| | ||
function_category=Item Management| | function_category=Item Management| |
Revision as of 20:27, 8 March 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.