Mmg retract bet: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
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…'
 
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Money Making Game|


function1={{Function|
function1={{Function|
Line 21: Line 20:


}}
}}
[[Category:Money Making Game]]

Revision as of 05:18, 22 May 2010

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.