mmg_make_bet()

From KoLMafia
Jump to: navigation, 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.