if (FirstTickOfBar) boolAlertSounded = false;
if (!boolAlertSounded)
if (Instrument.MasterInstrument.Name == "6E"){PlaySound("6elongdivergence.wav");}
else if (Instrument.MasterInstrument.Name == "CL"){PlaySound("cllongdivergence.wav");}
else if (Instrument.MasterInstrument.Name ==
boolAlertSounded = true;
if (Instrument.MasterInstrument.Name == "6E")
SET TIMER TO WAIT 5 SECONDS
{PlaySound("6elongdivergence.wav");}
else if (Instrument.MasterInstrument.Name == "CL")
SET TIMER TO WAIT 10 SECONDS
{PlaySound("cllongdivergence.wav");}
boolAlertSounded = true;
Any ideas how to achieve this?
Thanks in advance
DJ
Comment