Slash Command: Difference between revisions

Content added Content deleted
m (update links)
m (clean up)
Line 1: Line 1:
{{trope}}
{{trope}}
A text command, beginning with a "/". Generally found in [[MMORPG|MMORPGs]], where they are entered into the chatbox and the "/" is used to distinguish them from ordinary chat.
A text command, beginning with a "/". Generally found in [[MMORPG]]s, where they are entered into the chatbox and the "/" is used to distinguish them from ordinary chat.


Slash commands allow a wide variety of operations, not limited by what can be keymapped. Speaking of, slash commands can generally be included in keymappable macros; in fact, the command to ''make'' a macro can be a slash command.
Slash commands allow a wide variety of operations, not limited by what can be keymapped. Speaking of, slash commands can generally be included in keymappable macros; in fact, the command to ''make'' a macro can be a slash command.
Line 17: Line 17:
* ''[[City of Heroes]]'' uses an obvious IRC descendant for its chat window.
* ''[[City of Heroes]]'' uses an obvious IRC descendant for its chat window.
* ''[[Nethack]]'' has a number of these, including naming items, dipping items in liquids, rubbing items, invoking items, and accessing containers which are lying on the ground. They're accessed through the pound sign ('#') rather than the slash key.
* ''[[Nethack]]'' has a number of these, including naming items, dipping items in liquids, rubbing items, invoking items, and accessing containers which are lying on the ground. They're accessed through the pound sign ('#') rather than the slash key.
* The original ''[[Team Fortress Classic|Team Fortress]]'' (a mod for ''[[Quake (series)|Quake]]'') used slash commands to perform certain actions such as deploying a turret. This became annoying for new players, as they had to find a large number of keys to "bind" to each command, and had to edit configuration files and go through other contortions to get the changes to stick. Many early FPS mods--even into the ''[[Half Life]]'' era--suffered similar problems.
* The original ''[[Team Fortress Classic|Team Fortress]]'' (a mod for ''[[Quake (series)|Quake]]'') used slash commands to perform certain actions such as deploying a turret. This became annoying for new players, as they had to find a large number of keys to "bind" to each command, and had to edit configuration files and go through other contortions to get the changes to stick. Many early FPS mods—even into the ''[[Half Life]]'' era—suffered similar problems.
** Server-side mods for [[Team Fortress 2]], like SourceMod, when installed and enabled on a server, also allow the player to do specific actions by typing slash commands on the chatbox, like /rtd or /rtv.
** Server-side mods for [[Team Fortress 2]], like SourceMod, when installed and enabled on a server, also allow the player to do specific actions by typing slash commands on the chatbox, like /rtd or /rtv.
*** Because of this, TF2's Medieval Mode auto-parser ignores text beginning with '!' or '/' (so SourceMod commands aren't modified).
*** Because of this, TF2's Medieval Mode auto-parser ignores text beginning with '!' or '/' (so SourceMod commands aren't modified).