Mmg take bet

From Kolmafia
Revision as of 05:19, 22 May 2010 by imported>Bale
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int mmg_take_bet(int bet_id ,boolean storage )

  • bet_id is the bet ID # to take
  • storage is true if using meat from Hagnk's storage or false to use meat from inventory

Accepts the bet with the specified bet_id, using meat from inventory if storage is false or from Hagnk's storage if it is true. Returns the bet amount (as a negative number) if you lose the bet, and the bet amount minus the house cut (as a positive number) if you win.