Mmg wait event

From Kolmafia
Revision as of 05:19, 22 May 2010 by imported>Bale
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.