diff --git a/saco/cmdprocs.cpp b/saco/cmdprocs.cpp index df3b929..8ea5c5c 100644 --- a/saco/cmdprocs.cpp +++ b/saco/cmdprocs.cpp @@ -89,7 +89,16 @@ void cmdTimestamp(PCHAR szCmd) void cmdAudioMsg(PCHAR szCmd) { - // TODO: cmdAudioMsg .text:10068790 + if(pConfig->GetIntVariable("audiomsgoff") == 1) + { + pConfig->SetIntVariable("audiomsgoff", 0); + if(pChatWindow) pChatWindow->AddInfoMessage("Audio messages: On"); + } + else + { + pConfig->SetIntVariable("audiomsgoff", 1); + if(pChatWindow) pChatWindow->AddInfoMessage("Audio messages: Off"); + } } void cmdLogUrls(PCHAR szCmd)