!7 module PlaySoundOnNewVisitor > DynPrintLogAndEnabled { start { dm_vmBus_onMessage_q('newHomePageVisitors, r { if (enabled) doSound() }); dm_requireModule("#1016183/HomePageVisitors"); } visualize { ret withCenteredButtons(super.visualize(), "Test the sound", rThread doSound); } void doSound enter { playWAVSnippetAndWait(#1400163); } }