Difference between revisions of "Mmg bet winnings"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
m
 
Line 1: Line 1:
{{
+
This function was removed when the make money game was removed from KoL.
#vardefine:name|mmg_bet_winnings}}{{
 
#vardefine:return_type|int}}{{
 
  
FunctionPage|
+
Returns the amount won (as a positive number) or lost (as a negative number) from the last bet returned by [[mmg_wait_event|mmg_wait_event()]].
name={{#var:name}}|
 
 
 
function1={{Function|
 
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
}}|
 
 
 
function_description=Returns the amount won (as a positive number) or lost (as a negative number) from the last bet returned by [[mmg_wait_event|mmg_wait_event()]].|
 
 
 
needscode=yes|
 
 
 
see_also={{SeeAlso|mmg_wait_event}}|
 
special=Returns 0 if no previous bet was returned by [[mmg_wait_event|mmg_wait_event()]].|
 
}}
 
 
 
[[Category:Money Making Game]]
 

Latest revision as of 19:56, 24 April 2021

This function was removed when the make money game was removed from KoL.

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