Mmg wait event: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
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 22: Line 21:
special=Returns 0 if KoL does not report a bet taken in the time specified.|
special=Returns 0 if KoL does not report a bet taken in the time specified.|
}}
}}
[[Category:Money Making Game]]

Revision as of 05:19, 22 May 2010

needs(code_samples);

Function Syntax

int mmg_wait_event(int delay )

  • delay is the number of milliseconds to wait

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

Special

Returns 0 if KoL does not report a bet taken in the time specified.