Difference between revisions of "Mmg make bet"

From Kolmafia
Jump to navigation Jump to search
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…')
 
imported>Bale
m
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Money Making Game|
 
  
 
function1={{Function|
 
function1={{Function|
Line 23: Line 22:
  
 
}}
 
}}
 +
 +
[[Category:Money Making Game]]

Revision as of 05:18, 22 May 2010

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.