Slash Commands: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
m (→‎Alphabetical Command Listing: formatting more into the alpha list)
mNo edit summary
 
(24 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
{{wip}}
== Overview ==
== Overview ==


In City of Heroes and City of Villains, there are a number of commands that can be typed on the chat command line to execute various functions.  These are known as '''slash commands''', because they begin with a slash (/).  Slash commands often have underscores within the name to improve legibility, but they are not needed to actually take effect, i.e. /PowExec_Name, /Pow_Exec_Name, /P_o_w_E_x_e_c_n_a_m_e all perform the same way. Almost every action taken in the game is a slash command bound to a key. The number 1 is "pow_exec_slot 1", which executes the power in slot 1 of your power tray. Some slash commands, such as the movement commands, should not be called from the chatbox without taking care and knowing what will occur. The following list is a list of known slash commands, along with their command line format. See [[:Category:Slash Commands]] as well.
In City of Heroes and City of Villains, there are a number of commands that can be typed on the chat command line to execute various functions.  These are known as '''slash commands''', because they begin with a slash (/).  Slash commands often have underscores within the name to improve legibility, but they are not needed to actually take effect, i.e. /PowExec_Name, /Pow_Exec_Name, /P_o_w_E_x_e_c_n_a_m_e all perform the same way. Almost every action taken in the game is a slash command bound to a key. The number 1 is "pow_exec_slot 1", which executes the power in slot 1 of your power tray. Some slash commands, such as the movement commands, should not be called from the chatbox without taking care and knowing what will occur. See [[List of Slash Commands]] for a list of known slash commands; see also [[:Category:Slash Commands]].


== Concatenating Commands ==
== Concatenating Commands ==
Multiple commands may be strung together for simultaneous execution using the '$$' operator.  For example, the following command will cause a character to say "Ready!" and perform the "thumbsup" emote at the same time.
Multiple commands may be strung together for simultaneous execution using the '$$' operator.  For example, the following command will cause a character to say "Ready!" and perform the "thumbsup" emote at the same time.


:{{slashcommand|say|<color black><bgcolor #22aa22>Ready!}}$${{bindcommand|emote|thumbsup}}
:{{slashcommand|local|Ready!}}$${{bindcommand|emote|thumbsup}}


Note that when concatenating two or more commands, the slash is used on only the first command.
Note that when concatenating two or more commands, the slash is used on only the first command.
== Activation Sequence of Concatenated Commands ==
When multiple commands are strung together, the activation sequence of each command changes depending on the kind of command that is being executed. Commands that execute powers, such as powexec_name, activate from right to left; whereas most other commands (such as messages, "Forward", "Petcom Attack", "Follow", etc.) activate from left to right. This behavior is due to commands interrupting previous commands that have a long activation times. Animation times can also impact the sequence in which commands are executed. For example, commands for powers and emotes have activation and/or animation times which slow their execution; whereas most other commands are executed more or less instantly.


== Substitution Strings ==
== Substitution Strings ==
Substitution strings allow you to create commands that will display the same basic behavior each time they are used, but will vary slightly depending on certain variable conditions such as your current character or your currently selected target. Several pre-defined substitution strings exist and are denoted by a single '$' prefix:
Substitution strings, also referred to as [[Variables|variables]], allow you to create commands that will display the same basic behavior each time they are used, but will vary slightly depending on certain variable conditions such as your current character or your currently selected target. When a variable is used the appropriate information referring to your target or character is substituted for the variable before it is sent to the appropriate communication channel. Several pre-defined substitution strings exist and are denoted by a single '$' prefix:
* $archetype - the [[archetype]] of your character
* $archetype - the [[archetype]] of your character
* $battlecry - your character's battlecry, as entered on your character ID screen
* $battlecry - your character's battlecry, as entered on your character ID screen
* $level - your character's current [[level]]
* $level - your character's current [[level]]
* $name - your character's name
* $name - your character's name
* $primary - your [[Primary Power Sets|primary power set]]
* $secondary - your [[Secondary Power Sets|secondary power set]]
* $origin - your character's origin
* $origin - your character's origin
* $target - your currently selected target's name
* $target - your currently selected target's name
* $side - displays "Hero" or "Villain" depending on your character's current content flag (see [[Variables]] page for more details)
* $loc - your current coordinates as a clickable [[Thumbtack (Slash Command)|thumbtack]] link


For example, if a level 12 natural-origin scrapper named Captain Obvious were to target a Behemoth Overlord, the following command would cause him to say "I, Captain Obvious, a level 12 natural hero, challenge you, Behemoth Overlord, to a battle to the death!" in his currently selected chat channel.
For example, if a level 12 natural-origin scrapper named Captain Obvious were to target a Behemoth Overlord, the following command would cause him to say "I, Captain Obvious, a level 12 natural scrapper, challenge you, Behemoth Overlord, to a battle to the death!" in his currently selected chat channel.


:{{slashcommand|say|"I, $name, a level $level $origin $archetype, challenge you, $target, to a battle to the death!"}}
:{{slashcommand|local|"I, $name, a level $level $origin $archetype, challenge you, $target, to a battle to the death!"}}


The same command, executed by a level 42 magic-origin brute named Mauler who is targeting Arbiter Howe would cause the character to say, "I, Mauler, a level 42 magic brute, challenge you, Arbiter Howe, to a battle to the death!"
The same command, executed by a level 42 magic-origin brute named Mauler who is targeting Arbiter Howe would cause the character to say, "I, Mauler, a level 42 magic brute, challenge you, Arbiter Howe, to a battle to the death!"


== Pet Commands ==
==Command Line Parameters==
Unlike other commands that make use of Power names and Player names, these commands can have the power and names truncated. The 8 Stance and Action orders can easily be truncated to their first 3 letters. As can all the henchmen summoning powers. When a pet name is truncated, the order given will goto all pets that have the letters specified in their name.
Many slash commands, especially graphics commands, can also be used as [[Command Line Parameters|command line parameters]] or launch parameters.  
{{PetCommandRelated}}
{{petcommands}}
 
== Communication Commands ==
{|
|-valign="top"
| width="250pt" | {{slashcommand|autoreply|message}}
| Privately sends the specified ''message'' to the character or player from whom you last received a tell.
|-valign="top"
| {{slashcommand|b|message}}
| Alias for {{slashcommand|broadcast}}
|-valign="top"
| {{slashcommand|broadcast|message}}
| Send message to Broadcast channel. Aliases: {{slashcommand|b}}, {{slashcommand|y}}, {{slashcommand|yell}}
|-valign="top"
| {{slashcommand|c|message}}
| Alias for {{slashcommand|coalition}}
|-valign="top"
| {{slashcommand|coalition|message}}
| Spends the specified ''message'' on the [[Coalition]] channel. Alias: {{slashcommand|c}}
|-valign="top"
| {{slashcommand|g|message}}
| Alias for {{slashcommand|team}}
|-valign="top"
| {{slashcommand|l|message}}
| Alias for {{slashcommand|local}}
|-valign="top"
| {{slashcommand|local|message}}
| Sends the specified ''message'' to the [[Local]] channel. Alias: {{slashcommand|l}}
|-valign="top"
| {{slashcommand|reply}}
| Replies to the last person who sent you a tell.
|-valign="top"
| {{slashcommand|sg|message}}
| Alias for {{slashcommand|supergroup}}
|-valign="top"
| {{slashcommand|supergroup|message}}
| Sends the specified ''message'' to the [[Supergroup]] channel. Alias: {{slashcommand|sg}}
|-valign="top"
| {{slashcommand|t|name, message}}
| Alias for {{slashcommand|tell}}
|-valign="top"
| {{slashcommand|team|message}}
| Sends the specified ''message'' to the [[Team]] channel. Alias: {{slashcommand|g}}
|-valign="top"
| {{slashcommand|tell|name, message}}
| Privately sends the specified ''message'' to the player specified by ''name''.  If ''name'' is a character name, the message will fail unless the player is online.  If ''name'' is a [[Global Name|global name]], the message will be delivered the next time that player is online.  Note that the comma after ''name'' is required or the command will fail. Alias: {{slashcommand|t}}
|-valign="top"
| {{slashcommand|tell_last|message}}
| Privately sends the specified ''message'' to the character or player to whom you last sent a tell. Alias: {{slashcommand|tl}}
|-valign="top"
| {{slashcommand|tl}}
| Alias for {{slashcommand|tell_last}}
|-valign="top"
| {{slashcommand|y|message}}
| Alias for {{slashcommand|broadcast}}
|-valign="top"
| {{slashcommand|yell|message}}
| Alias for {{slashcommand|broadcast}}
|}
 
== Gameplay commands ==
 
{|
|-valign="top"
| width="250pt" | {{slashcommand|lfgset|status}}
| Sets your "looking for group" status.  ''status'' is a parameter that indicates which status you wish to set and may be one of the following values.  Setting the status to other values is undefined and may cause unexpected results.
{|
|-
! width="25pt" | 0
| Not looking
|-
! 1
| Looking for any
|-
! 2
| Looking for Patrol
|-
! 4
| Looking for Missions
|-
! 8
| Looking for Task Force
|-
! 16
| Looking for Trial
|-
! 32
| Looking for Arena
|}
|-valign="top"
| {{slashcommand|requestexitmission|number}}
| Leave the mission once it is completed. It requires a number argument, but the number doesn't seem to do anything. This command does not appear on the {{slashcommand|cmdlist}} output.
|}
 
== Supergroup Commands ==
{|
|-valign="top"
| {{slashcommand|ci|player}}
| Alias for {{slashcommand|coalition_invite}}
|-valign="top"
| width="250pt" | {{slashcommand|chan_invite_sg|channel_name rank}}
| Invite your entire supergroup to a global chat channel.  Only leaders may use this command.  The ''rank'' parameter may be any of the ranks listed below. Alias: {{slashcommand|ginvite_sg}}
{|
|-
! width="25pt" | 0
| Invite the entire supergroup (members, captains, and leaders).
|-
! 1
| Invite captains and leaders only.
|-
! 2
| Invite leaders only.
|}
|-valign="top"
| {{slashcommand|coalition_cancel|supergroup}}
| Cancel coalition with a supergroup.
|-valign="top"
| {{slashcommand|coalition_invite|player}}
| Invite ''player'''s supergroup to join coalition. Alias: {{slashcommand|ci}}
|-valign="top"
| {{slashcommand|coalition_mintalkrank|rank}}
| Sets the minimum rank of members of a coalition supergroup who your supergroup can hear.
|-valign="top"
| {{slashcommand|coalition_nosend}}
| Stop your supergroup from sending coalition chat to an ally supergroup.
|-valign="top"
| {{slashcommand|coalition_sg_mintalkrank|rank}}
| Sets the minimum rank of members of your supergroup who can use coalition chat.  '''Note''': This command is currently non-functional.
|-valign="top"
| {{slashcommand|ginvite_sg|channel_name rank}}
| Alias for {{slashcommand|chan_invite_sg}}
|-valign="top"
| {{slashcommand|sg|message}}
| Alias for {{slashcommand|supergroup}}
|-valign="top"
| {{slashcommand|sgi|character}}
| Alias for {{slashcommand|sginvite}}
|-valign="top"
| {{slashcommand|sginvite|character}}
| Invite ''character'' to join supergroup. Alias: {{slashcommand|sgi}}
|-valign="top"
| {{slashcommand|sgk|character}}
| Alias for {{slashcommand|sgkick}}
|-valign="top"
| {{slashcommand|sgkick|character}}
| Kick ''character'' from supergroup. Alias: {{slashcommand|sgk}}
|-valign="top"
| {{slashcommand|sgleave}}
| Leave the current supergroup.
|-valign="top"
| {{slashcommand|sgmode}}
| Toggle supergroup mode.
|-valign="top"
| {{slashcommand|sgmodeset|mode}}
| Set Supergroup mode.
{|
|-
! width="25pt" | 0
| Leave supergroup mode.
|-
! 1
| Enter supergroup mode.
|}
|-valign="top"
| {{slashcommand|sgraid_window|daybits hour}}
| Sets your supergroup raid window.
|-valign="top"
| {{slashcommand|sgsetdemotetimeout|days}}
| Sets the number of days a leader in your supergroup has to log in before the leader is demoted.  '''Note''': This command is currently non-functional.
|-valign="top"
| {{slashcommand|sgsetdescription|description}}
| Sets your supergroup description.
|-valign="top"
| {{slashcommand|sgsetmotd|message}}
| Sets the supergroup's message of the day.
|-valign="top"
| {{slashcommand|sgsetmotto|motto}}
| Sets the supergroup's motto.
|-valign="top"
| {{slashcommand|sgstats}}
| Display supergroup info in chat window. '''Note''': This command is currently non-functional.
|-valign="top"
| {{slashcommand|supergroup|message}}
| Sends the specified ''message'' to the [[Supergroup]] channel. Alias: {{slashcommand|sg}}
|}
 
== Alphabetical Command Listing ==
{|
|-valign="top"
| width="250pt" | {{slashcommand|afk|message}}
| Marks the player as Away From Keyboard (with given message)
|-valign="top"
| {{slashcommand|alttray}}
| Toggle the secondary tray while a key is being pressed (for keybinds)
|-valign="top"
| {{slashcommand|alttraysticky}}
| Toggle the secondary tray
|-valign="top"
| {{slashcommand|assist}}
| Change your current target to selected ally's or enemy's target
|-valign="top"
| {{slashcommand|auction|message}}
| Send message to Auction channel
|-valign="top"
| {{slashcommand|autoreply}}
| Start a reply for client
|-valign="top"
| {{slashcommand|autorun}}
| Toggles autorun
|-valign="top"
| {{slashcommand|b|message}}
| Alias for {{slashcommand|broadcast}}
|-valign="top"
| {{slashcommand|backward}}
| Move backwards
|-valign="top"
| {{slashcommand|beginchat}}
| Starts chat-entry mode with given string
|-valign="top"
| {{slashcommand|bind_load_file|filename}}
| Reads a list of keybinds from a file
|-valign="top"
| {{slashcommand|bind_load}}
| Reads a list of keybinds from ''COH_INSTALL_DIRECTORY''\keybinds.txt
|-valign="top"
| {{slashcommand|bind_save_file|filename}}
| Saves all keybinds to specified file
|-valign="top"
| {{slashcommand|bind_save}}
| Saves all keybinds to ''COH_INSTALL_DIRECTORY''\keybinds.txt
|-valign="top"
| {{slashcommand|bind|key command}}
| Binds a key to a command or group of commands
|-valign="top"
| {{slashcommand|broadcast|message}}
| Send message to Broadcast channel. Aliases: {{slashcommand|b}}, {{slashcommand|y}}, {{slashcommand|yell}}
|-valign="top"
| {{slashcommand|buffs}}
| Toggle team buff display
|-valign="top"
| {{slashcommand|bug|subject}}
| Report a [[Bug]]
|-valign="top"
| {{slashcommand|c|message}}
| Send message on the Coalition channel  (Also: ''coalition'')
|-valign="top"
| {{slashcommand|camdist|distance}}
| Sets the distance in feet that the third person camera pulls back behind the player
|-valign="top"
| {{slashcommand|camreset}}
| Camreset is bound to the PageDown key (default) to reset the camera behind the player
|-valign="top"
| {{slashcommand|camrotate}}
| Camrotate is bound to the PageUp key to allow controlled camera rotation around the player '''This command should not be invoked through the console!'''
|-valign="top"
| {{slashcommand|canlook}}
| Whether the player can use the mouse to look around
|-valign="top"
| {{slashcommand|cc}}
| Open costume change window  (Also: ''costume_change'')
|-valign="top"
| {{slashcommand|cc|slot}}
| Change costume to specified costume slot (0-4) (Also: ''costume_change'')
|-valign="top"
| {{slashcommand|chan_create|channel}}
| Create a new chat channel
|-valign="top"
| {{slashcommand|chan_desc|channel description}}
| Set the channel's description
|-valign="top"
| {{slashcommand|chan_invite|channel username}}
| Invite a player or chat handle to a chat channel. Alias: {{slashcommand|ginvite}}
|-valign="top"
| {{slashcommand|chan_invite_gf|channel}}
| Invites your entire global friends list to a global chat channel
|-valign="top"
| {{slashcommand|chan_invite_sg|channel rank}}
| Invite your entire supergroup to a global chat channel.  Only leaders may use this command.  The ''rank'' parameter may be any of the ranks listed below. Alias: {{slashcommand|ginvite_sg}}
{|
|-
! width="25pt" | 0
| Invite the entire supergroup (members, captains, and leaders).
|-
! 1
| Invite captains and leaders only.
|-
! 2
| Invite leaders only.
|}
|-valign="top"
| {{slashcommand|chan_invite_team|channel}}
| Invites your entire team or tasfforce to a global chat channel
|-valign="top"
| {{slashcommand|chan_join|channel}}
| Join an existing chat channel
|-valign="top"
| {{slashcommand|chan_leave|channel}}
| Leave a chat channel
|-valign="top"
| {{slashcommand|chan_members|channel}}
| List all members of channel
|-valign="top"
| {{slashcommand|chan_mode|channel options}}
| Changes default access rights for new user who joins the channel. If you set -join, no one can join unless invited by an operator.
{|
|-
! align="left" | +join / -join
| Allows/disallows users from joining the channel
|-
! align="left" | +send / -send
| Gives/removes user ability to send messages to channel
|-
! align="left" | +operator / -operator &nbsp;
| Gives/removes operator status from another user in the channel
|}
|-valign="top"
| {{slashcommand|chan_motd|channel message}}
| Set the channel's Message Of The Day, which is sent to everyone that joins or logs into the channel
|-valign="top"
| {{slashcommand|chan_send|channel message}}
| Send message to chat channel. You must be in the channel and have Send priviledges.  (Also: ''send'')
|-valign="top"
| {{slashcommand|chan_user_mode|channel global options}}
| Sets user permissions for the user with the handle ''global'' (without the @) on ''channel''. You must have operator status to set permissions.
{|
|-
! align="left" | -join
| Kicks user from channel
|-
! align="left" | +send / -send
| Gives/removes user ability to send messages to channel
|-
! align="left" | +operator / -operator &nbsp;
| Gives/removes operator status to user in the channel
|}
|-valign="top"
| {{slashcommand|change_handle|new_global}}
| Change your global user name, if allowed.
|-valign="top"
| {{slashcommand|chat_cycle}}
| Cycles through the default chat channels
|-valign="top"
| {{slashcommand|chat_set|string}}
| Sets the channel to the given string
|-valign="top"
| {{slashcommand|chat}}
| Toggles the chat window
|-valign="top"
| {{slashcommand|chatoptions|window}}
| Toggles chat options for specified ''window'' (0-4)
|-valign="top"
| {{slashcommand|ci|player}}
| Alias for {{slashcommand|coalition_invite}}
|-valign="top"
| {{slashcommand|cmdlist}}
| Prints out most slash commands in the chat window
|-valign="top"
| {{slashcommand|coalition|message}}
| Spends the specified ''message'' on the [[Coalition]] channel. Alias: {{slashcommand|c}}
|-valign="top"
| {{slashcommand|coalition_cancel|supergroup}}
| Cancel coalition with a supergroup.
|-valign="top"
| {{slashcommand|coalition_invite|player}}
| Invite ''player'''s supergroup to join coalition. Alias: {{slashcommand|ci}}
|-valign="top"
| {{slashcommand|coalition_mintalkrank|rank}}
| Sets the minimum rank of members of a coalition supergroup who your supergroup can hear.
|-valign="top"
| {{slashcommand|coalition_nosend}}
| Stop your supergroup from sending coalition chat to an ally supergroup.
|-valign="top"
| {{slashcommand|coalition_sg_mintalkrank|rank}}
| Sets the minimum rank of members of your supergroup who can use coalition chat.  '''Note''': This command is currently non-functional.
|-valign="top"
| {{slashcommand|copychat|tab}}
| Copy the entire chat history from specified chat Tab into the clipboard
|-valign="top"
| {{slashcommand|costume_change}}
| Open costume change window  (Also: ''cc'')
|-valign="top"
| {{slashcommand|costume_change|slot}}
| Change costume to specified costume slot  (Also: ''cc'')
|-valign="top"
| {{slashcommand|cursorcache}}
| Enable cursor cache for smoother cursor changes
|-valign="top"
| {{slashcommand|demorecord|filename}}
| Record a demo to the given name
|-valign="top"
| {{slashcommand|demostop}}
| Stop demo record/play
|-valign="top"
| {{slashcommand|demote|character}}
| Demote supergroup member one rank
|-valign="top"
| {{slashcommand|dialog_answer|choice}}
| Answer dialog with button matching the provided text ''choice'' (ok, yes, no, cancel, or accept)
|-valign="top"
| {{slashcommand|dialog_no}}
| Answer OK, No, or Cancel to current dialog
|-valign="top"
| {{slashcommand|dialog_yes}}
| Answer OK, Yes, or Accept to current dialog
|-valign="top"
| {{slashcommand|disable2D}}
| Disables 2D sprite drawing
|-valign="top"
| {{slashcommand|down}}
| Move down (if flying)
|-valign="top"
| {{slashcommand|e|emote}}
| Emotes a text string or performs valid emote animation  (Also: ''em'' or ''emote'')
|-valign="top"
| {{slashcommand|e3screenshot}}
| Enables special e3 2004 screenshot mode
|-valign="top"
| {{slashcommand|em|emote}}
| Emotes a text string or performs valid emote animation  (Also: ''e'' or ''emote'')
|-valign="top"
| {{slashcommand|emaildelete|number}}
| Delete specified message
|-valign="top"
| {{slashcommand|emailsend|characters subject body}}
| Send in-game email message
|-valign="top"
| {{slashcommand|emote|emote}}
| Emotes a text string or performs valid emote animation  (Also: ''e'' or ''em'')
|-valign="top"
| {{slashcommand|estrange|character}}
| Remove character from friend list
|-valign="top"
| {{slashcommand|ex|character}}
| Invite character to be your exemplar, must have character targeted if no name is provided  (Also: ''exemplar'' or ''rsk'')
|-valign="top"
| {{slashcommand|exemplar|character}}
| Invite character to be your exemplar, must have character targeted if no name is provided. Aliases: {{slashcommand|ex}}, {{slashcommand|mal}}, {{slashcommand|malefactor}}, {{slashcommand|rsk}}
|-valign="top"
| {{slashcommand|f|message}}
| Send message to friends channel
|-valign="top"
| {{slashcommand|first}}
| Toggles between first and third person camera
|-valign="top"
| {{slashcommand|fl}}
| Display friend list  (Also: ''friendlist'')
|-valign="top"
| {{slashcommand|follow}}
| Toggle follow mode (/cmdlist says that follow takes an argument (0 or 1), it does not)
|-valign="top"
| {{slashcommand|forward}}
| Move forward
|-valign="top"
| {{slashcommand|friend|character}}
| Add character to friend list
|-valign="top"
| {{slashcommand|friendlist}}
| Display friend list  (Also: ''fl'')
|-valign="top"
| {{slashcommand|fsaa}}
| Sets the amount of full screen antialiasing
|-valign="top"
| {{slashcommand|fullscreen}}
| Sets video mode to fullscreen
|-valign="top"
| {{slashcommand|g|message}}
| Alias for {{slashcommand|team}}
 
|-valign="top"
| {{slashcommand|gamereturn}}
| Leave fullscreen, close dialogs, and close non-essential windows. Alias: {{slashcommand|window_close_extra}}
|-valign="top"
| {{slashcommand|getarenastats}}
| Get your arena stats
|-valign="top"
| {{slashcommand|get_comment}}
| Get search comment
|-valign="top"
| {{slashcommand|getpos}}
| Alias for {{slashcommand|loc}}
|-valign="top"
| {{slashcommand|gfriend|name}}
| Add player to your global friends list. Alias: {{slashcommand|gfriend_player}}
|-valign="top"
| {{slashcommand|gfriend_player|name}}
| Alias for {{slashcommand|gfriend}}
|-valign="top"
| {{slashcommand|gfriends}}
| Display all members of your global friends list
|-valign="top"
| {{slashcommand|ghide}}
| Make yourself invisible to your global friends.
|-valign="top"
| {{slashcommand|gignore|username}}
| Adds a player from your global ignore list.
|-valign="top"
| {{slashcommand|gignoring}}
| Lists the players on your global ignore list
|-valign="top"
| {{slashcommand|ginvite|channel_name username}}
| Alias for {{slashcommand|chan_invite}}
|-valign="top"
| {{slashcommand|ginvite_sg|channel_name rank}}
| Alias for {{slashcommand|chan_invite_sg}}
|-valign="top"
| {{slashcommand|gmotd}}
| View the global message again.
|-valign="top"
| {{slashcommand|goto_tray|number}}
| Go to specified power tray number in the primary tray
|-valign="top"
| {{slashcommand|goto_tray_alt|number}}
| Go to specified power tray number in the secondary tray
|-valign="top"
| {{slashcommand|goto_tray_alt2|number}}
| Go to specified power tray number in the tertiary tray
|-valign="top"
| {{slashcommand|goto_trays_tray|position tray}}
| Go to specified power tray number (1 to 10) in the given position.
|-valign="top"
| {{slashcommand|group|message}}
| Alias for {{slashcommand|team}}
|-valign="top"
| {{slashcommand|guide|message}}
| Alias for {{slashcommand|help}}
|-valign="top"
| {{slashcommand|gunfriend|name}}
| Remove player from global friends list. Alias: {{slashcommand|gunfriend_player}}
|-valign="top"
| {{slashcommand|gunfriend_player|name}}
| Alias for {{slashcommand|gunfriend}}
|-valign="top"
| {{slashcommand|gunhide}}
| Make yourself visible to your global friends
|-valign="top"
| {{slashcommand|gunignore|username}}
| Removes a player from your global ignore list.
|-valign="top"
| {{slashcommand|h|message}}
| Alias for {{slashcommand|help}}
|-valign="top"
| {{slashcommand|help|message}}
| Sends the specified message to the Help chat channel
|-valign="top"
| {{slashcommand|hide}}
| Hide from other users
|-valign="top"
| {{slashcommand|hideprimarychat}}
| Hide/unhide primary chat window text messages
|-valign="top"
| {{slashcommand|i|character}}
| Alias for {{slashcommand|invite}}
|-valign="top"
| {{slashcommand|ignore|character}}
| Ignore character
|-valign="top"
| {{slashcommand|ignore_spammer|character}}
| Ignore character and sends alert to customer service
|-valign="top"
| {{slashcommand|ignorelist}}
| Displays a list of ignored characters
|-valign="top"
| {{slashcommand|info}}
| Opens the info window for the current target (yourself if you have no target).
|-valign="top"
| {{slashcommand|info_self}}
| Opens the info window for yourself
|-valign="top"
| {{slashcommand|info_self_tab|tab}}
| Opens the specified tab of the info window for yourself
|-valign="top"
| {{slashcommand|info_tab|tab}}
| Opens the specified tab of the info window for the current target (yourself if you have no target)
|-valign="top"
| {{slashcommand|inspexec_name|inspiration}}
| Activate an inspiration by name
|-valign="top"
| {{slashcommand|inspexec_slot|number}}
| Activate an inspiration slot in the first row ''(needs confirmation of possible options)'' Alias: {{slashcommand|inspirationslot}}
|-valign="top"
| {{slashcommand|inspexec_tray|row column}}
| Activate an inspiration slot in the given row and column
|-valign="top"
| {{slashcommand|inspirationslot}}
| Alias for {{slashcommand|inspexec_slot}}
|-valign="top"
| {{slashcommand|invite|character}}
| Invite character to join team. Alias: {{slashcommand|i}}
|-valign="top"
| {{slashcommand|k|character}}
| Alias for {{slashcommand|kick}}
|-valign="top"
| {{slashcommand|keybind_reset}}
| Alias for {{slashcommand|unbind_all}}
|-valign="top"
| {{slashcommand|kick|character}}
| Remove character from team. Alias: {{slashcommand|k}}
|-valign="top"
| {{slashcommand|kiosk}}
| Pop up the kiosk info for the nearest kiosk if you're close enough
|-valign="top"
| {{slashcommand|l|message}}
| Alias for {{slashcommand|local}}
|-valign="top"
| {{slashcommand|lackey}}
| Alias for {{slashcommand|sidekick}}
|-valign="top"
| {{slashcommand|leaveteam}}
| Leave your current team
|-valign="top"
| {{slashcommand|left}}
| Strafe left
|-valign="top"
| {{slashcommand|lfg}}
| Toggle looking for group status
|-valign="top"
| {{slashcommand|lfgset|status}}
| Sets your "looking for group" status.  ''status'' is a parameter that indicates which status you wish to set and may be one of the following values.  Setting the status to other values is undefined and may cause unexpected results.
{|
|-
! width="25pt" | 0
| Not looking
|-
! 1
| Looking for any
|-
! 2
| Looking for Patrol
|-
! 4
| Looking for Missions
|-
! 8
| Looking for Task Force
|-
! 16
| Looking for Trial
|-
! 32
| Looking for Arena
|}
|-valign="top"
| {{slashcommand|lightmaplodscale}}
| Set lightmap LOD scale
|-valign="top"
| {{slashcommand|lk}}
| Alias for {{slashcommand|sidekick}}
|-valign="top"
| {{slashcommand|loc}}
| Get [[coordinates]] of current location on the map. Alias: {{slashcommand|getpos}}
|-valign="top"
| {{slashcommand|local|message}}
| Sends the specified ''message'' on the Local channel. Alias: {{slashcommand|l}}
|-valign="top"
| {{slashcommand|localtime}}
| Prints local time (on your computer)
|-valign="top"
| {{slashcommand|logchat}}
| Toggle chat logging
|-valign="top"
| {{slashcommand|lookdown}}
| Pitch camera down
|-valign="top"
| {{slashcommand|lookup}}
| Pitch camera up
|-valign="top"
| {{slashcommand|macro|name command}}
| Add a macro to first empty slot
|-valign="top"
| {{slashcommand|macroslot|slot name command}}
| Add a macro to specified slot
|-valign="top"
| {{slashcommand|makeleader|character}}
| Change the team leader to targeted character, must have character targeted if no name is provided. Alias: {{slashcommand|ml}}
|-valign="top"
| {{slashcommand|mal}}
| Alias for {{slashcommand|exemplar}}
|-valign="top"
| {{slashcommand|malefactor}}
| Alias for {{slashcommand|exemplar}}
|-valign="top"
| {{slashcommand|manage}}
| Go to the enhancement management screen
|-valign="top"
| {{slashcommand|map}}
| Toggles the map window
|-valign="top"
| {{slashcommand|maxfps}}
| Limits max frames per second.
|-valign="top"
| {{slashcommand|maximize}}
| Maximizes the window
|-valign="top"
| {{slashcommand|maxInactiveFps}}
| Limits max frames per second while the game is not in the foreground.
|-valign="top"
| {{slashcommand|me}}
| Alias for {{slashcommand|emote}}
|-valign="top"
| {{slashcommand|menu}}
| Toggles the menu
|-valign="top"
| {{slashcommand|ml|character}}
| Alias for {{slashcommand|makeleader}}
|-valign="top"
| {{slashcommand|mouse_invert}}
| Invert meaning of mouseY for mouselook
|-valign="top"
| {{slashcommand|mouse_look}}
| Command key for mouselook
|-valign="top"
| {{slashcommand|mouse_speed}}
| Scale factor for mouse look
|-valign="top"
| {{slashcommand|mousepitchmode}}
| Set mouse pitch mode
|-valign="top"
| {{slashcommand|myhandle}}
| Display your chat handle
|-valign="top"
| {{slashcommand|namecaptain|name}}
| Renames the 'Captain' supergroup rank
|-valign="top"
| {{slashcommand|namecommander|name}}
| Renames the 'Commander' supergroup rank
|-valign="top"
| {{slashcommand|nameenforcer|name}}
| Renames the 'Enforcer' supergroup rank
|-valign="top"
| {{slashcommand|nameflunky|name}}
| Renames the 'Flunky' supergroup rank
|-valign="top"
| {{slashcommand|nameleader|name}}
| Renames the 'Leader' supergroup rank
|-valign="top"
| {{slashcommand|namelieutenant|name}}
| Renames the 'Lieutenant' supergroup rank
|-valign="top"
| {{slashcommand|namemember|name}}
| Renames the 'Member' supergroup rank
|-valign="top"
| {{slashcommand|nameoverlord|name}}
| Renames the 'Overlord' supergroup rank
|-valign="top"
| {{slashcommand|nameringleader|name}}
| Renames the 'Ringleader' supergroup rank
|-valign="top"
| {{slashcommand|nametaskmaster|name}}
| Renames the 'Taskmaster' supergroup rank
|-valign="top"
| {{slashcommand|nav}}
| Toggles the navigation window
|-valign="top"
| {{slashcommand|netgraph|bit}}
| Displays network connection information. Set ''bit'' to 1 to enable, set to 0 to disable.
|-valign="top"
| {{slashcommand|newspaper}}
| Open up the newspaper
|-valign="top"
| {{slashcommand|next_tray}}
| Go to next tray
|-valign="top"
| {{slashcommand|next_tray_alt}}
| Go to next secondary tray
|-valign="top"
| {{slashcommand|next_tray_alt2}}
| Go to next tertiary tray.
|-valign="top"
| {{slashcommand|next_trays_tray}}
| Go to next trays tray slot.
|-valign="top"
| {{slashcommand|nojumprepeat}}
| Disable jump auto-repeat
|-valign="top"
| {{slashcommand|norenderthread}}
| ''Unknown''
|-valign="top"
| {{slashcommand|nosunflare}}
| Disables sun flare for performance debugging
|-valign="top"
| {{slashcommand|p|character message}}
| Alias for {{slashcommand|tell}}
|-valign="top"
| {{slashcommand|petcom|commands}}
| Sends commands to your current pet.
|-valign="top"
| {{slashcommand|petcom_all|commands}}
| Sends commands to all pets.
|-valign="top"
| {{slashcommand|petcom_name|pet_name commands}}
| Sends commands to named pet.
|-valign="top"
| {{slashcommand|petcom_pow|power_name commands}}
| Sends commands to pets summoned by named power.
|-valign="top"
| {{slashcommand|petition|message}}
| Sends in-game user petition to customer support
|-valign="top"
| {{slashcommand|petoptions}}
| Displays pet option context menu
|-valign="top"
| {{slashcommand|petrename|name}}
| Rename your current pet.
|-valign="top"
| {{slashcommand|petrename_name|name}}
| Rename the named pet.
|-valign="top"
| {{slashcommand|petsay|message}}
| Current pet says the message.
|-valign="top"
| {{slashcommand|petsay_all|message}}
| All pets say the message.
|-valign="top"
| {{slashcommand|petsay_name|pet_name message}}
| Named pet says the message.
|-valign="top"
| {{slashcommand|petsay_pow|power_name message}}
| Pets summoned by named power says the message.
|-valign="top"
| {{slashcommand|pet_select|integer}}
| Selects a pet from the list, starting with 0{{red|?}}<!-- verify --> at the top.
|-valign="top"
| {{slashcommand|pet_select_name|pet_name}}
| Selects the named pet.
|-valign="top"
| {{slashcommand|playerturn}}
| Turn player to match camera
|-valign="top"
| {{slashcommand|powers}}
| Toggles the power inventory display
|-valign="top"
| {{slashcommand|powexec_abort}}
| Cancels the auto-attack power and the queued power
|-valign="top"
| {{slashcommand|powexec_alt2slot|slot}}
| Executes the given power slot from the second alternate tray
|-valign="top"
| {{slashcommand|powexec_altslot|slot}}
| Executes the given power slot from the alternate tray
|-valign="top"
| {{slashcommand|powexec_auto|power}}
| Sets the auto-attack power to given named power (or blank to shut it off, or toggles if it's on already)
|-valign="top"
| {{slashcommand|powexec_name|power}}
| Executes a power with the given name
|-valign="top"
| {{slashcommand|powexec_slot|slot}}
| Executes the given power slot from the current tray
|-valign="top"
| {{slashcommand|powexec_toggleoff|power}}
| Toggles a given power off. If its already off, does nothing
|-valign="top"
| {{slashcommand|powexec_toggleon|power}}
| Toggles a given power on. If its already on, does nothing
|-valign="top"
| {{slashcommand|powexec_tray|tray slot}}
| Executes a power in the given tray and slot '''(needs in-game confirmation of options)'''
|-valign="top"
| {{slashcommand|powexec_unqueue}}
| Cancels the currently queued power
|-valign="top"
| {{slashcommand|prev_tray}}
| Go to previous tray
|-valign="top"
| {{slashcommand|prev_tray_alt}}
| Go to previous secondary tray
|-valign="top"
| {{slashcommand|prev_tray_alt2}}
| Go to previous tertiary tray.
|-valign="top"
| {{slashcommand|prev_trays_tray}}
| Go to previous trays tray slot.
|-valign="top"
| {{slashcommand|private|character message}}
| Alias for {{slashcommand|tell}}
|-valign="top"
| {{slashcommand|profiler_record|file}}
| Record client profiler information to specified file.
|-valign="top"
| {{slashcommand|profiler_stop}}
| Stop recording profiler information.
|-valign="top"
| {{slashcommand|promote|character}}
| Promote supergroup member one rank
|-valign="top"
| {{slashcommand|quickchat}}
| Pops up the quickchat menu
|-valign="top"
| {{slashcommand|quit}}
| Quits game
|-valign="top"
| {{slashcommand|raid_invite}}
| Alias for {{slashcommand|sgraid_invite}}
|-valign="top"
| {{slashcommand|release}}
| Activate medicom unit for emergency medical transport when defeated
|-valign="top"
| {{slashcommand|release_pets}}
| Release your current pets
|-valign="top"
| {{slashcommand|reloadgfx}}
| Unloads all textures (causing them to be reloaded dynamically)
|-valign="top"
| {{slashcommand|renderscale}}
| Changes the scale at which the 3D world is rendered relative to your screen size
|-valign="top"
| {{slashcommand|renderscalefilter}}
| Changes method of filtering used in renderscaling
|-valign="top"
| {{slashcommand|renderscalex}}
| Changes the horizontal scale at which the 3D world is rendered relative to your screen size
|-valign="top"
| {{slashcommand|renderscaley}}
| Changes the vertical scale at which the 3D world is rendered relative to your screen size
|-valign="top"
| {{slashcommand|rendersize}}
| Changes the size at which the 3D world is rendered
|-valign="top"
| {{slashcommand|renderthread}}
| ''Unknown''
|-valign="top"
| {{slashcommand|reply|message}}
| Sends message to the last person who sent you a ''tell''
|-valign="top"
| {{slashcommand|req|message}}
| Alias for {{slashcommand|request}}
|-valign="top"
| {{slashcommand|request|message}}
| Send message to Request channel. Alias: {{slashcommand|req}}
|-valign="top"
| {{slashcommand|requestexitmission|number}}
| Leave the mission once it is completed.  It requires a number argument, but the number doesn't seem to do anything.  This command does not appear on the {{slashcommand|cmdlist}}.
|-valign="top"
| {{slashcommand|respec}}
| Go to the [[power respecification]] screen if you have a [[Power Respecification#Free Respecifications|free respec]]
|-valign="top"
| {{slashcommand|right}}
| Strafe right
|-valign="top"
| {{slashcommand|rsk|character}}
| Alias for {{slashcommand|exemplar}}
|-valign="top"
| {{slashcommand|s|message}}
| Alias for {{slashcommand|say}}
|-valign="top"
| {{slashcommand|say|message}}
| Sends the given text on the current chat channel. Alias: {{slashcommand|s}}
|-valign="top"
| {{slashcommand|screen|resolution}}
| Sets X and Y screen dimensions, should be constrained to 640x480,1024x768, 1280x1024, 1600x1200, etc.
|-valign="top"
| {{slashcommand|screenshot}}
| Save a .jpg format screenshot
|-valign="top"
| {{slashcommand|screenshottga}}
| Save a .tga format screenshot
|-valign="top"
| {{slashcommand|screenshottitle|title}}
| Save a .jpg format screenshot with the given title.
|-valign="top"
| {{slashcommand|screenshotui|boolean}}
| Show ui in screenshots
|-valign="top"
| {{slashcommand|sea|character}}
| Alias for {{slashcommand|search}}
|-valign="top"
| {{slashcommand|search|character}}
| Find a character. Alias: {{slashcommand|sea}}
|-valign="top"
| {{slashcommand|sell|message}}
| Send message to the Auction channel
|-valign="top"
| {{slashcommand|send|channel message}}
| Send message to specified global chat channel
|-valign="top"
| {{slashcommand|servertime}}
| Print the current server time
|-valign="top"
| {{slashcommand|set_title|number}}
| Set badge title by number, if you do not have the specified badge your current badge title will be cleared
|-valign="top"
| {{slashcommand|sg|message}}
| Alias for {{slashcommand|supergroup}}
|-valign="top"
| {{slashcommand|sgi|character}}
| Alias for {{slashcommand|sginvite}}
|-valign="top"
| {{slashcommand|sginvite|character}}
| Invite ''character'' to join supergroup. Alias: {{slashcommand|sgi}}
|-valign="top"
| {{slashcommand|sgk|character}}
| Alias for {{slashcommand|sgkick}}
|-valign="top"
| {{slashcommand|sgkick|character}}
| Kick ''character'' from supergroup. Alias: {{slashcommand|sgk}}
|-valign="top"
| {{slashcommand|sgleave}}
| Leave the current supergroup.
|-valign="top"
| {{slashcommand|sgmode}}
| Toggle supergroup mode.
|-valign="top"
| {{slashcommand|sgmodeset|mode}}
| Set Supergroup mode.
{|
|-
! width="25pt" | 0
| Leave supergroup mode.
|-
! 1
| Enter supergroup mode.
|}
|-valign="top"
| {{slashcommand|sgraid_invite|player}}
| Invite player's supergroup to an instant raid. Alias: {{slashcommand|raid_invite}}
|-valign="top"
| {{slashcommand|sgraid_window|daybits hour}}
| Sets your supergroup raid window.
|-valign="top"
| {{slashcommand|sgsetdemotetimeout|days}}
| Sets the number of days a leader in your supergroup has to log in before the leader is demoted.  '''Note''': This command is currently non-functional.
|-valign="top"
| {{slashcommand|sgsetdescription|description}}
| Sets your supergroup description.
|-valign="top"
| {{slashcommand|sgsetmotd|message}}
| Sets the supergroup's message of the day.
|-valign="top"
| {{slashcommand|sgsetmotto|motto}}
| Sets the supergroup's motto.
|-valign="top"
| {{slashcommand|sgstats}}
| Display supergroup info in chat window. '''Note''': This command is currently non-functional.
|-valign="top"
| {{slashcommand|shaderdetail}}
| Changes the shader detail level
|-valign="top"
| {{slashcommand|shadowvol|boolean}}
| Controls whether or not shadow volumes are drawn
|-valign="top"
| {{slashcommand|show}}
| Forces the given window to be shown. Alias: {{slashcommand|window_show}}
|-valign="top"
| {{slashcommand|showfps|boolean}}
| Show current framerate
|-valign="top"
| {{slashcommand|show_petnames}}
| Displays the names of all your named pets
|-valign="top"
| {{slashcommand|sidekick|character}}
| Invite character to be your sidekick, must have character targeted if no name is provided. Alias: {{slashcommand|lackey}}, {{slashcommand|lk}}, {{slashcommand|sk}}
|-valign="top"
| {{slashcommand|sk}}
| Alias for {{slashcommand|sidekick}}
|-valign="top"
| {{slashcommand|slashchat}}
| Starts chat-entry mode with slash
|-valign="top"
| {{slashcommand|speed_turn|number}}
| Set the number of degrees for rotateleft/right
|-valign="top"
| {{slashcommand|ss|boolean}}
| Controls whether or not simple shadows are drawn
|-valign="top"
| {{slashcommand|startchat}}
| Starts chat-entry mode
|-valign="top"
| {{slashcommand|stopinactivedisplay}}
| Stops rendering when the game is not the foreground application
|-valign="top"
| {{slashcommand|stuck}}
| Try to get unstuck you are stuck because of bugs
|-valign="top"
| {{slashcommand|supergroup|message}}
| Sends the specified ''message'' to the [[Supergroup]] channel. Alias: {{slashcommand|sg}}
|-valign="top"
| {{slashcommand|suppressCloseFx}}
| Hide all personal FX when the camera is closer than the suppressCloseFxDist
|-valign="top"
| {{slashcommand|suppressCloseFxDist|number}}
| Within this camera distance, personal FX will be suppressed.
|-valign="top"
| {{slashcommand|t|name message}}
| Alias for {{slashcommand|tell}}
|-valign="top"
| {{slashcommand|tabglobalnext}}
| Cycle forward through all chat tabs in all windows, will open the corresponding chat window if necessary
|-valign="top"
| {{slashcommand|tabglobalprev}}
| Cycle backward through all chat tabs in all windows, will open the corresponding chat window if necessary
|-valign="top"
| {{slashcommand|tabnext|window}}
| Cycle forward through all chat tabs in specified chat window
|-valign="top"
| {{slashcommand|tabprev|window}}
| Cycle backward through all chat tabs in specified chat window
|-valign="top"
| {{slashcommand|tabselect|tab}}
| Select the given chat tab, will open the corresponding chat window if necessary
|-valign="top"
| {{slashcommand|tabtoggle}}
| Make the previously active chat tab the new active tab
|-valign="top"
| {{slashcommand|target}}
| Toggles the target window
|-valign="top"
| {{slashcommand|target_custom_far|params}}
| Targets furthest matching target using the same parameters as used by {{slashcommand|target_custom_next}}.
|-valign="top"
| {{slashcommand|target_custom_near|params}}
| Targets nearest matching target using the same parameters as used by {{slashcommand|target_custom_next}}.
|-valign="top"
| {{slashcommand|target_custom_next|params}}
| Cycles through matching targets in near to far order using the following parameters.
{|
|-
! width="50pt" align="right" | enemy
| Hostile enemies.
|-
! align="right" | friend
| Friendlies (including pets).
|-
! align="right" | defeated
| 0 HP targets.
|-
! align="right" | alive
| Living targets.
|-
! align="right" | mypet
| Include only your pets.
|-
! align="right" | notmypet
| Exclude your pets.
|-
! align="right" | base
| Include only passive base items.
|-
! align="right" | notbase
| Exclude passive base items.
|-
! align="right" | teammate
| Include only teammates.
|-
! align="right" | notteammate
| Exclude teammates.
|-
! align="right" | ''anything else''
| Matches against name for specific targeting
|}
|-valign="top"
| {{slashcommand|target_custom_prev|params}}
| Cycles through matching targets in far to near order using the same parameters as used by {{slashcommand|target_custom_next}}.
|-valign="top"
| {{slashcommand|target_enemy_far}}
| Targets the farthest enemy
|-valign="top"
| {{slashcommand|target_enemy_near}}
| Targets the nearest enemy
|-valign="top"
| {{slashcommand|target_enemy_next}}
| Cycles through visible targetable enemies in near to far order
|-valign="top"
| {{slashcommand|target_enemy_prev}}
| Cycles through visible targetable enemies in far to near order
|-valign="top"
| {{slashcommand|target_friend_far}}
| Targets the farthest friend
|-valign="top"
| {{slashcommand|target_friend_near}}
| Targets the nearest friend
|-valign="top"
| {{slashcommand|target_friend_next}}
| Cycles through visible targetable friends in near to far order
|-valign="top"
| {{slashcommand|target_friend_prev}}
| Cycles through visible targetable friends in far to near order
|-valign="top"
| {{slashcommand|target_name|name}}
| Targets next entity that matches the given name.
|-valign="top"
| {{slashcommand|team|message}}
| Send message on the Team channel. Aliases: {{slashcommand|g}}, {{slashcommand|group}}
|-valign="top"
| {{slashcommand|team_select|number}}
| Select specified Team member
|-valign="top"
| {{slashcommand|tell|name, message}}
| Sends a private ''message'' to a specific player.  If ''name'' is a character name, the message will fail unless the player is online.  If ''name'' is a [[Global Chat Handle|global name]], the message will be delivered the next time that player is online.  Note that the comma after ''name'' is required or the command will fail. Aliases: {{slashcommand|t}}, {{slashcommand|p}}, {{slashcommand|private}}, {{slashcommand|whisper}}
|-valign="top"
| {{slashcommand|tell_last|message}}
| Sends a tell to the last player you sent a ''tell'' to. Alias: {{slashcommand|tl}}
|-valign="top"
| {{slashcommand|texaniso}}
| Sets the amount of anisotropic filtering to use, reloads textures
|-valign="top"
| {{slashcommand|texwordeditor}}
| Edit the text layout for translatable textures
|-valign="top"
| {{slashcommand|third}}
| Toggles between first and third person camera
|-valign="top"
| {{slashcommand|tl|message}}
| Alias for {{slashcommand|tell_last}}
|-valign="top"
| {{slashcommand|toggle_enemy_prev}}
| Cycles through targetable enemies in reverse order
|-valign="top"
| {{slashcommand|toggle_enemy}}
| Cycles through targetable enemies starting with the closest
|-valign="top"
| {{slashcommand|toggle}}
| Show a window if hidden, hide a window if shown. Alias: {{slashcommand|window_toggle}}
|-valign="top"
| {{slashcommand|trade|character}}
| Invite character to trade, must have character targeted if no name is provided
|-valign="top"
| {{slashcommand|tray}}
| Toggles the tray window
|-valign="top"
| {{slashcommand|tray_sticky|position state}}
| Set the sticky-state of the specified tray. 0 removes stickiness, anything else adds it.
|-valign="top"
| {{slashcommand|tray_sticky_alt2}}
| Toggle the sticky-state of the alt2 tray.
|-valign="top"
| {{slashcommand|turnleft|degrees}}
| Rotate left a fixed number of degrees
|-valign="top"
| {{slashcommand|turnright|degrees}}
| Rotate right a fixed number of degrees
|-valign="top"
| {{slashcommand|unbind|keyname}}
| Unbinds a bound key (sets it to default).  If the default action is not desired, use: {{slashcommand|bind|keyname "nop"}}
|-valign="top"
| {{slashcommand|unbind_all}}
| Resets keybinds, returning all keys to their default bindings.
|-valign="top"
| {{slashcommand|unex}}
| Alias for {{slashcommand|unexemplar}}
|-valign="top"
| {{slashcommand|unexemplar}}
| No longer be an exemplar or malefactor. Aliases: {{slashcommand|unex}}, {{slashcommand|unmal}}, {{slashcommand|unmalefactor}}, {{slashcommand|unrsk}}
|-valign="top"
| {{slashcommand|unfriend|character}}
| Remove character from friends list
|-valign="top"
| {{slashcommand|unhide}}
| Stop hiding from other users
|-valign="top"
| {{slashcommand|unignore|character}}
| Unignore character
|-valign="top"
| {{slashcommand|unlackey}}
| Alias for {{slashcommand|unsidekick}}
|-valign="top"
| {{slashcommand|unlk}}
| Alias for {{slashcommand|unsidekick}}
|-valign="top"
| {{slashcommand|unmal}}
| Alias for {{slashcommand|unexemplar}}
|-valign="top"
| {{slashcommand|unmalefactor}}
| Alias for {{slashcommand|unexemplar}}
|-valign="top"
| {{slashcommand|unrsk}}
| Alias for {{slashcommand|unexemplar}}
|-valign="top"
| {{slashcommand|unselect}}
| Unselects currently selected thing
|-valign="top"
| {{slashcommand|unsidekick}}
| No longer be a mentor or a sidekick. Alias: {{slashcommand|unlackey}}, {{slashcommand|unlk}}, {{slashcommand|unsk}}
|-valign="top"
| {{slashcommand|unsk}}
| Alias for {{slashcommand|unsidekick}}
|-valign="top"
| {{slashcommand|up}}
| Jump or fly up
|-valign="top"
| {{slashcommand|usebumpmaps}}
| Use bumpmaps
|-valign="top"
| {{slashcommand|usedof}}
| Use Depth of Field effects if available
|-valign="top"
| {{slashcommand|usefp}}
| Use a floating point render target for HDR lighting effects if available
|-valign="top"
| {{slashcommand|usehdr}}
| Use HDR lighting effects (Bloom/tonemapping) if available
|-valign="top"
| {{slashcommand|userenderscale}}
| Enables/disables render scaling feature
|-valign="top"
| {{slashcommand|usewater}}
| Use fancy water effects if available
|-valign="top"
| {{slashcommand|vis_scale|distance}}
| Controls draw distance (1.0=default)
|-valign="top"
| {{slashcommand|watching}}
| List all channels that you belong to
|-valign="top"
| {{slashcommand|whereami}}
| Tells the name of the map you are on
|-valign="top"
| {{slashcommand|whisper|name, message}}
| Alias for {{slashcommand|tell}}
|-valign="top"
| {{slashcommand|who}}
| Brings up the find player window; with argument, searches for players matching the argument in the current zone
|-valign="top"
| {{slashcommand|whoall}}
| Shows who is on the current map
|-valign="top"
| {{slashcommand|window_close_extra}}
| Alias for {{slashcommand|gamereturn}}
|-valign="top"
| {{slashcommand|window_color}}
| Changes the window colors
|-valign="top"
| {{slashcommand|window_hide}}
| Forces the given window to be hidden. Alias: {{slashcommand|hide}}
|-valign="top"
| {{slashcommand|window_resetall}}
| Resets all window locations, sizes, and visibility to their defaults.
|-valign="top"
| {{slashcommand|window_scale}}
| Change a single window scale.
|-valign="top"
| {{slashcommand|window_show}}
| Forces the given window to be shown. Alias: {{slashcommand|show}}
|-valign="top"
| {{slashcommand|window_toggle}}
| Show a window if hidden, hide a window if shown. Alias: {{slashcommand|toggle}}
|-valign="top"
| {{slashcommand|y|message}}
| Alias for {{slashcommand|broadcast}}
|-valign="top"
| {{slashcommand|yell|message}}
| Alias for {{slashcommand|broadcast}}
|-valign="top"
| {{slashcommand|zoomin}}
| Zoom camera in
|-valign="top"
| {{slashcommand|zoomout}}
| Zoom camera out
|}
 
ac                                  Arena chat channel
 
ai                                  Invite player to join your arena event.
 
alt2tray                          Toggle the secondary tray while a key is being pressed. (for keybinds)
 
arena                              Arena chat channel
 
arenainvite                        Invite player to join your arena event.
 
assist_name                      Change your current target to a specified allies target.
 
autoperf                          Automatically change world detail for performance.
 
bloomScale                        Sets bloom blur size, valid values of 2 or 4
 
bloomWeight                      Sets bloom scale, valid values 0.0 - 2.0
 
camturn                          Turn camera to match player
 
clear_petnames                          Clear the names of all your named pets
 
clearchat                        Clear all chat buffers
 
clicktomove                      enables click-to-move
 
comment                            Set search comment.
 
compatibleCursors                Enables useage of basic Windows mouse cursors instead of graphical cursors (command line option)
 
ctm                              enables click-to-move


ctm_toggle                        click-to-move toggle


ctstoggle                        Toggles the click to source display.
== See Also ==


dofWeight                        Sets DOF scale, valid values 0.0 - 2.0
* [[List of Slash Commands]]
* [[Binds]]
* [[Macros]]
* [[List of Key Names]]
* [[Variables]]
* [[Communication Commands]]
* [[Pet Commands]]
* [[Supergroup Commands]]
* [[The Incomplete and Unofficial Guide to /bind]]


face                              Turn player to face target


findmember                          Find a player.


forward_mouse          Move forward.  Enable autorun after 2 seconds.


[[Category:Gameplay]][[Category:Slash Commands| ]][[Category:Communication Commands]][[Category:Graphic Commands]][[Category:Pet Commands]][[Category:Supergroup Commands]][[Category:Targeting Commands]]
[[Category:Gameplay]]
[[Category:Slash Commands]]

Latest revision as of 06:31, 15 February 2024

Overview

In City of Heroes and City of Villains, there are a number of commands that can be typed on the chat command line to execute various functions. These are known as slash commands, because they begin with a slash (/). Slash commands often have underscores within the name to improve legibility, but they are not needed to actually take effect, i.e. /PowExec_Name, /Pow_Exec_Name, /P_o_w_E_x_e_c_n_a_m_e all perform the same way. Almost every action taken in the game is a slash command bound to a key. The number 1 is "pow_exec_slot 1", which executes the power in slot 1 of your power tray. Some slash commands, such as the movement commands, should not be called from the chatbox without taking care and knowing what will occur. See List of Slash Commands for a list of known slash commands; see also Category:Slash Commands.

Concatenating Commands

Multiple commands may be strung together for simultaneous execution using the '$$' operator. For example, the following command will cause a character to say "Ready!" and perform the "thumbsup" emote at the same time.

/local Ready!$$emote thumbsup

Note that when concatenating two or more commands, the slash is used on only the first command.

Activation Sequence of Concatenated Commands

When multiple commands are strung together, the activation sequence of each command changes depending on the kind of command that is being executed. Commands that execute powers, such as powexec_name, activate from right to left; whereas most other commands (such as messages, "Forward", "Petcom Attack", "Follow", etc.) activate from left to right. This behavior is due to commands interrupting previous commands that have a long activation times. Animation times can also impact the sequence in which commands are executed. For example, commands for powers and emotes have activation and/or animation times which slow their execution; whereas most other commands are executed more or less instantly.

Substitution Strings

Substitution strings, also referred to as variables, allow you to create commands that will display the same basic behavior each time they are used, but will vary slightly depending on certain variable conditions such as your current character or your currently selected target. When a variable is used the appropriate information referring to your target or character is substituted for the variable before it is sent to the appropriate communication channel. Several pre-defined substitution strings exist and are denoted by a single '$' prefix:

  • $archetype - the archetype of your character
  • $battlecry - your character's battlecry, as entered on your character ID screen
  • $level - your character's current level
  • $name - your character's name
  • $primary - your primary power set
  • $secondary - your secondary power set
  • $origin - your character's origin
  • $target - your currently selected target's name
  • $side - displays "Hero" or "Villain" depending on your character's current content flag (see Variables page for more details)
  • $loc - your current coordinates as a clickable thumbtack link

For example, if a level 12 natural-origin scrapper named Captain Obvious were to target a Behemoth Overlord, the following command would cause him to say "I, Captain Obvious, a level 12 natural scrapper, challenge you, Behemoth Overlord, to a battle to the death!" in his currently selected chat channel.

/local "I, $name, a level $level $origin $archetype, challenge you, $target, to a battle to the death!"

The same command, executed by a level 42 magic-origin brute named Mauler who is targeting Arbiter Howe would cause the character to say, "I, Mauler, a level 42 magic brute, challenge you, Arbiter Howe, to a battle to the death!"

Command Line Parameters

Many slash commands, especially graphics commands, can also be used as command line parameters or launch parameters.


See Also