From a42341b2485fcc25fb06e2646dd828fc0a3a0202 Mon Sep 17 00:00:00 2001 From: ricardoofnl Date: Sat, 18 Jul 2026 15:11:50 +0700 Subject: [PATCH] [saco] Implement/match `cmdAudioMsg` --- saco/cmdprocs.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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)