Mmg retract bet

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

Function Syntax

boolean mmg_retract_bet(int bet_id )

  • bet_id is the KoL ID # of the bet to retract

Tries to retract the specified bet bet_id. Returns true if successful, and false if unsuccessful - presumably because the bet was already taken.