Mmg wait event

From Kolmafia
Revision as of 16:59, 4 April 2010 by imported>StDoodle
Jump to navigation Jump to search
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.