Mmg wait event: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
Mcroft (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{
This function was removed when the make money game was removed from KoL.
#vardefine:name|mmg_wait_event}}{{
#vardefine:return_type|int}}{{


FunctionPage|
Waits for {{pspan|delay}} milliseconds for KoL to report on an outstanding bet being taken. Returns the bet ID # of the taken bet.
name={{#var:name}}|
function_category=Money Making Game|
 
function1={{Function|
name={{#var:name}}|
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also={{#var:return_also}}|
parameter1={{Param|int|delay}}|
p1desc={{Pspan|delay}} is the number of milliseconds to wait|
}}|
 
function_description=Waits for {{pspan|delay}} milliseconds for KoL to report on an outstanding bet being taken. Returns the bet ID # of the taken bet.|
 
needscode=yes|
 
special=Returns 0 if KoL does not report a bet taken in the time specified.|
}}

Latest revision as of 20:01, 24 April 2021

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

Waits for delay milliseconds for KoL to report on an outstanding bet being taken. Returns the bet ID # of the taken bet.