Difference between revisions of "My closet meat"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m (moved My closetmeat() to My closetmeat: standards)
imported>StDoodle
(No difference)

Revision as of 13:16, 1 March 2010

 int my_closet_meat() {
     string closet = visit_url('closet.php');
     string closetmeat = substring(closet, index_of(closet,"contains "), index_of(closet," meat"));
     return to_int(closetmeat);
 }
 print("my_meat --> " + my_meat());
 print("my_closet_meat --> " + my_closet_meat());