Audio/ visual alerts

I was wondering if anybody knows how to code an AUDIO/ VISUAL alert to a custom Indicator of mines??