Mmg make bet

From Kolmafia
Revision as of 17:18, 12 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|mmg_make_bet}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=Money Making Game| function1={{Function| name={{#var:name…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int mmg_make_bet(int amount ,boolean storage )

  • amount is the amount of the bet
  • storage is true if using meat from Hagnk's storage or false to use meat from inventory

Place a bet of the specified amount using meat from inventory if storage is false or from Hagnk's storage if it is true. Returns the bet ID # if successful, or 0 if unsuccessful. You will be unsuccessful if you already have 5 bets out or don't have enough meat; or, presumably, if you don't have a casino pass.