View Single Post
03-06-24, 11:08 AM   #5
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,894
For both macros, after /run and before if insert

Lua Code:
  1. CURRENT_CHAT_FRAME_ID = 1 ChatConfigOtherSettings_OnShow()

This will change the setting for the "General" chat frame. Each chat frame has it's own list of channels and messages it listens for.

A better method would probably be to add/remove the message event(s) from the chatframe rather than doing the Click() thing especially if you wanted to do this for all chat frames.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 03-06-24 at 11:18 AM.
  Reply With Quote