From 86a612951ad3476a7d7e69400cfdcc3e793db9c6 Mon Sep 17 00:00:00 2001 From: avirar Date: Fri, 25 Jul 2025 15:59:49 +1000 Subject: [PATCH] Added uc slash command --- core/slash.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/slash.lua b/core/slash.lua index 83a63d7..656177a 100644 --- a/core/slash.lua +++ b/core/slash.lua @@ -22,6 +22,9 @@ function SlashCmdList.AUX(command) local scale = tonumber(arguments[2]) aux.frame:SetScale(scale) aux.account_data.scale = scale + elseif arguments[1] == 'uc' then + aux.account_data.undercut = not aux.account_data.undercut + aux.print('undercutting ' .. status(aux.account_data.undercut)) elseif arguments[1] == 'ignore' and arguments[2] == 'owner' then aux.account_data.ignore_owner = not aux.account_data.ignore_owner aux.print('ignore owner ' .. status(aux.account_data.ignore_owner)) @@ -94,4 +97,4 @@ function SlashCmdList.AUX(command) aux.color[aux.account_data.theme == 'modern' and 'green' or 'red']('modern') .. ']') aux.print('- show hidden [' .. status(aux.account_data.showhidden) .. ']') end -end \ No newline at end of file +end