User:Nexuapex/Alphabetical list of slash commands

A
Toggles your AFK flag, which marks you as "away from keyboard." You can optionally provide a message that will be displayed to players that whisper you while you are AFK—the default message is "Away From Keyboard".

Toggles announcements of players joining or leaving on a channel which you own.

Causes you to target the current target of a specified unit. Assists the target specified by the target macro option if it exists; otherwise, assists the target given as a parameter if it exists; otherwise, assists your current target. If Attack on assist is selected under your Interface Options, it will also start your auto-attack.

B
Bans a player from a channel which you own or moderate.

Sends a message to everyone in your current battleground instance.

C
Sends a message to a channel that you are in. A shorter form is the /# syntax (e.g. to send to channel #1, type: /1 Hello, world!).

Removes a positive buff from your character (specified by name).

Causes your character to leave any alternate form you're currently shapeshifted into.

Causes your character to use an ability, cast a spell, or use an item. If the action is targetable, uses the action on the target specified by the target macro option if it exists; otherwise, uses your current target.

Performs a random action. You can specify as many or as few actions as you like. An action may be anything that the /cast command understands.

/castrandom uses the same targeting rules as /cast. Any options or conditions given for a /castrandom command apply to the entire list of actions. The target option selects a target for any targetable spell in the list of actions, and the conditions specify if the command is to be run, not which spells in the list to choose from.

All actions have the same chance to be selected. If you want to make an action more likely to be selected, put it in the list multiple times, so that it has multiple chances to be selected.

Allows you to perform a predetermined sequence of actions by pressing the same macro multiple times. You can specify as many or as few actions as you like. An action may be anything that the /cast command understands.

/castsequence uses the same targeting rules as /cast. Any options or conditions given for a /castsequence command apply to the entire sequence. The target option selects a target for any targetable spell in the sequence, and the conditions specify if the sequence is to be run, not which spells in the sequence to run.

One action is performed each time the /castsequence is run. The sequence only advances to the next action when the previous action is cast successfully. However, the sequence will advance if the action does not "hit" successfully (i.e. the spell may be resisted). When the end of the sequence is reached, it begins again at the beginning.

You can specify conditions that cause the /castsequence to "reset" before it begins to perform an action, using the reset=&lt;conditions&gt; option. You can use the following conditions (if you use multiple conditions, separate them with forward slashes):

combat
 * The sequence will reset when you leave combat.

target
 * The sequence will reset when you change targets.

shift, alt, ctrl
 * The sequence will reset when you run it while holding down the specified modifier key.

#
 * The sequence will reset when it has not been run for a specified number of seconds.

Changes your current action bar (use a number between 1 and 6).

If you don't specify a channel, displays a list of all the channels you're in. If you specify a channel, displays a list of everyone in that channel.

Toggles chat logging (all chat messages are saved to the WoWChatLog.txt file in the Logs folder in your World of Warcraft folder).

Invites a specified player to a channel you're currently in.

Removes a player from a channel which you own or moderate.

Removes any focus you may have set.

Removes any main assist assignments that may be set.

Removes any main tank assignments that may be set.

If you have a selected target, clears the selection.

Simulates a click on a button with a specified internal name. You can optionally pass a specific mouse button to simulate (instead of the left button), as well as 1 to simulate a mouse-press instead of a mouse-release.

Toggles combat logging (all combat messages are saved to the WoWCombatLog.txt file in the Logs folder in your World of Warcraft folder).

If you are currently dueling another player, causes you to surrender to your opponent.

Executes a console command.

D
If you are currently mounted, causes you to dismount.

Toggles your DND flag, which marks you as "do not disturb." You can optionally provide a message that will be displayed to players that whisper you while you are marked as DND—the default message is "Do Not Disturb".

Challenges the targeted player to a duel.

E
Performs a custom emote. All nearby players on your faction (i.e. Alliance or Horde) will see the message you typed prefixed with your name (e.g. if your character's name is Rudolph and you type /emote twitches. nearby players will see "Rudolph twitches.").

Equips a specified item into the first available slot.

Equips a specified item into a specified slot.

F
If you are in a party, sets the loot level to free-for-all.

Sets your focus to the specified unit. Uses the target specified by the target macro option if it exists and it is not "focus"; otherwise, uses the target given as a parameter if it exists; otherwise, uses your current target.

Follows the specified unit (or your current target, if no unit is specified).

Adds the specified player to your friends list. If no player is specified and you have a player targeted, adds that player; otherwise, opens the friends list.

G
If you are in a party, sets the loot level to group loot.

Sends a message to everyone in your guild.

If you have the appropriate permissions, demotes the specified player one guild rank. You can't demote a player your rank or above.

If you are the guild leader, permanently disbands your current guild.

If you are in a guild, displays the date the guild was formed and the number of accounts and players currently in the guild.

If you have the appropriate permissions, invites the specified player to your current guild.

If you are the guild leader, promotes the specified player to guild leader.

Sets the specified message as the new guild message of the day.

If you have the appropriate permissions, demotes the specified player one guild rank. You can't promote a player to your rank or above.

If you are in a guild, leaves the guild.

If you have the appropriate permissions, removes the specified player from the guild.

Opens the guild list.

I
Ignores the specified player (if no player is specified, ignores your current target).

Inspects your current target.

If you are not in a group, or are the group leader or a raid assistant, invites the specified player to your group (if no player is specified, invites the targeted player).

J
Joins the channel with the specified name.

L
Opens the Looking For Group window.

Opens the Looking For More window.

If you are in a group, leaves the group.

Logs out of the game.

M
Opens the macro editing window.

Gives the specified group member the main assist assignment (if no player is specified, uses your current target).

Clears the specified group member's main assist assignment (if no player is specified, uses your current target).

Gives the specified group member the main tank assignment (if no player is specified, uses your current target).

Clears the specified group member's main tank assignment (if no player is specified, uses your current target).

If you are in a party, sets the loot level to master loot, and makes the specified player the master looter.

Makes the specified player a moderator in a channel which you own.

Mutes the specified player in a moderated channel which you own or moderate.

N
If you are in a party, sets the loot level to Need before Greed.

O
If you have the appropriate permissions, sends a message to your guild's officer channel.

If you are the owner of a channel, makes the specified player the owner.

P
If you are in a party, sends a message to everyone in your party. If you are in a raid, sends a message to everyone in your raid subgroup.

If you are the owner of the channel, sets the password of the channel to the specified password.

Switches your pet (if you have one) to aggressive mode.

Orders your pet (if you have one) to attack a specified unit. Attacks the target specified by the target macro option if it exists and is not "pettarget"; otherwise, attacks the target given as a parameter if it exists; otherwise, attacks your current target.

Turns on autocasting for a specified pet ability.

Turns off autocasting for a specified pet ability.

Switches your pet (if you have one) to defensive mode.

Orders your pet (if you have one) to follow you.

Switches your pet (if you have one) to passive mode.

Orders your pet (if you have one) to stay where it is.

Displays the amount of time you've spent logged in on this character over all time, as well as how much time you've spent at this level.

If you are the raid leader, promotes the specified player to raid assistant (if no player is specified, promotes the targeted player).

Toggles your character's PvP flag.

Q
Exits the game.

R
If you are in a raid, sends a message to everyone in your raid.

Displays the raid info window.

Generates a random integer between two numbers and displays it to nearby group members. The default maximum is 100 and the default minimum is 1.

If you are the group leader or a raid assistant, performs a ready check.

Removes the specified player from your friends list. If no player is specified and you have a player targeted, removes that player; otherwise, opens the friends list.

Sends a whisper to the last person who whispered you.

Resets all customized advanced chat settings.

Displays a heads-up message to everyone in your group.

If you are in a party, sets the loot level to round robin.

S
Sends a message to everyone in your character's general vicinity.

Executes a chunk of Lua code, passing an empty parameter list and ignoring any return values.

Causes your character to target a specified unit and turn on auto-attack. Attacks the target specified by the target macro option if it exists and is not "target"; otherwise, attacks the target given as a parameter if it exists; otherwise, attacks your current target.

Turns off your character's auto-attack.

If you are currently in the middle of casting a spell, causes you to stop casting and allows you to cast another spell. If this is used after an instant spell which does not invoke the global cooldown, the instant spell is cast anyway.

If this command is part of the currently-executing macro, halts the macro so that no further commands are executed.

When this command is run, it toggles between the two specified action bars. If, when the command is run, neither action bar is the current bar, switches to the first one specified.

T
Causes your character to target the specified unit. Targets the unit specified by the target macro option if it exists and is not "target"; otherwise, targets the unit given as a parameter.

Each time this command is run, your target cycles through nearby friendly units. If the parameter is 1, cycles in reverse order.

Targets the most recent other target you had.

Each time this command is run, your target cycles through nearby party members. If the parameter is 1, cycles in reverse order.

Each time this command is run, your target cycles through nearby raid members. If the parameter is 1, cycles in reverse order.

Each time this command is run, your target cycles through nearby enemy units. If the parameter is 1, cycles in reverse order.

If you are the team captain for the specified arena team, makes the specified player the new team captain.

If you are the team captain for the specified arena team, demotes the specified player.

If you are the team captain for the specified arena team, disbands the team.

If you are the team captain for the specified arena team, invites the specified player to the team.

Leaves the specified arena team.

If you are in a party where the loot level is group loot, sets the loot threshold (the worst item quality that players must roll for, rather than using round robin). The specified quality must be between 2 and 6, where 2 is and 6 is.

Displays the current server time.

Opens a trade window with the targeted player.

U
Unbans a player from a channel which you own or moderate.

Unignores the specified player. If no player is specified, unignores the targeted player if possible; otherwise, opens the ignore list.

If you are the group leader or a raid assistant, removes the specified player from your party (if no player is specified, removes the targeted player).

Demotes the specified moderator in a channel which you own.

Restores voice to the specified player in a moderated channel which you own or moderate.

W
Sends a whisper to a specified player.

Performs a who query. If no query is specified, the query returns as many online players as possible.

Y
Your character yells a message to everyone in the general vicinity.