Difference between revisions of "Mmg offered bets"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
m
imported>Saklad5
(Specified that only the results of mmg_search() are included)
Line 14: Line 14:
 
}}|
 
}}|
  
function_description=Returns a map keyed by an automatically generated index with bet ID #'s as the values of bets offered by others.|
+
function_description=Returns a map keyed by an automatically generated index with bet ID #’s as the values of bets offered by others. Only the results of the most recent call to mmg_search() are included. If mmg_search() has not been called in the current session, a blank map is returned. |
  
 
needscode=yes|
 
needscode=yes|

Revision as of 21:11, 5 August 2018

needs(code_samples);

Function Syntax

int [int] mmg_offered_bets()

Returns a map keyed by an automatically generated index with bet ID #’s as the values of bets offered by others. Only the results of the most recent call to mmg_search() are included. If mmg_search() has not been called in the current session, a blank map is returned.


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Does the data accessible to this function depend on mmg_visit(), mmg_search(), or a combination?