Pulls remaining

From Kolmafia
Revision as of 13:30, 1 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|pulls_remaining}} {{#vardefine:return_type|int}} {{FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:name…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



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.");
}