Added uc slash command
This commit is contained in:
+4
-1
@@ -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
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user