Mmg bet winnings: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{ #vardefine:name|mmg_bet_winnings}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=Money Making Game| function1={{Function| name={{#var:…'
 
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:
special=Returns 0 if no previous bet was returned by [[mmg_wait_event|mmg_wait_event()]].|
special=Returns 0 if no previous bet was returned by [[mmg_wait_event|mmg_wait_event()]].|
}}
}}
[[Category:Money Making Game]]

Revision as of 05:18, 22 May 2010

needs(code_samples);

Function Syntax

int mmg_bet_winnings()

Returns the amount won (as a positive number) or lost (as a negative number) from the last bet returned by mmg_wait_event().

See Also

mmg_wait_event()

Special

Returns 0 if no previous bet was returned by mmg_wait_event().