Skip to main content

Available Commands

Raid Consumable Checker provides three slash commands that all perform the same function: toggling the main addon window.

Primary Command

/rcc
command
Primary slash command to toggle the RCC window.Usage:
/rcc
Behavior:
  • Opens the main window if it’s currently hidden
  • Closes the main window if it’s currently visible
  • No arguments or parameters supported

Alternative Commands

/raidcheck
command
Secondary slash command, identical functionality to /rcc.Usage:
/raidcheck
/consumables
command
Tertiary slash command, identical functionality to /rcc.Usage:
/consumables

Implementation Details

Command Registration

All three commands are registered in RaidConsumableChecker_Core.lua:320-328:
function RaidConsumableChecker:RegisterSlashCommands()
    SLASH_RAIDCONSUMABLECHECKER1 = RCC_Constants.SLASH_COMMANDS.PRIMARY
    SLASH_RAIDCONSUMABLECHECKER2 = RCC_Constants.SLASH_COMMANDS.SECONDARY
    SLASH_RAIDCONSUMABLECHECKER3 = RCC_Constants.SLASH_COMMANDS.TERTIARY
    
    SlashCmdList["RAIDCONSUMABLECHECKER"] = function(msg)
        RaidConsumableChecker:ToggleWindow()
    end
end

Window Toggle Logic

The ToggleWindow() function in RaidConsumableChecker_Core.lua:297-303:
function RaidConsumableChecker:ToggleWindow()
    if self.mainFrame:IsVisible() then
        self.mainFrame:Hide()
    else
        self.mainFrame:Show()
    end
end

Constants Reference

The slash command strings are defined in RaidConsumableChecker_Constants.lua:87-91:
SLASH_COMMANDS.PRIMARY
string
default:"/rcc"
The primary slash command
SLASH_COMMANDS.SECONDARY
string
default:"/raidcheck"
The secondary slash command
SLASH_COMMANDS.TERTIARY
string
default:"/consumables"
The tertiary slash command

Common Usage

Use /rcc as it’s the shortest and easiest to remember command.

When to Use

  • Before Raids: Check your consumable inventory before entering a raid instance
  • During Preparation: Verify buff status while preparing for boss encounters
  • Quick Reference: Toggle on/off quickly without closing other windows

Keyboard Macros

You can create a macro to combine RCC with other raid preparation tasks:
/rcc
/cast Find Herbs
The slash commands do not accept any parameters or arguments. All configuration must be done through the Config UI accessible from the main window.

Build docs developers (and LLMs) love