Mmg wait event

From Kolmafia
Revision as of 19:26, 12 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|mmg_wait_event}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=Money Making Game| function1={{Function| name={{#var:na…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int mmg_wait_event(int delay )

  • delay is the number of seconds to wait

Waits for delay seconds 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.