Difference between revisions of "Extended command"

From NetHackWiki
Jump to navigation Jump to search
(Add #overview ctrl-o shortcut, add #terrain to table, no need for special note about them)
(Redirect article to commands article)
 
Line 1: Line 1:
{{Keyboard Commands}}
+
#REDIRECT [[Commands]]
An '''extended command''' is executed by pressing the [[Hash_mark|#]] key followed by the command itself (the first letter or two should suffice). Extended commands exist because the developers of NetHack ran out of letters. They are supposedly less frequently used than the [[:Category:Commands|single-letter commands]], but you probably won't get very far without using some of them. For instance, it is impossible to [[Ascension|win the game]] without using #offer.
 
 
 
Depending on how your game was compiled, these commands can vary or alternate keypresses may be available. On NetHack Qt for the Mac with no # key on the standard keyboard, the hash key is replaced with alt commands. If you are playing on the server, pressing alt+3 will produce the # symbol.
 
 
 
Many extended commands have aliases that can be accessed by pressing the [[meta key]] ({{kbd|alt}} on most PC keyboards) together with the first letter of the command,<ref>[http://www.nethack.org/v343/Guidebook.html#_TOCentry_7 Guidebook for NetHack 3.4, section 4: Commands]</ref> written as "{{kbd|alt|''letter''|link=0}}" in the table below.  If the [[number_pad]] option is turned on, some additional shortcuts that don't use the meta key become available (but the {{kbd|alt|2}} shortcut for #twoweapon is disabled).
 
 
 
Extended commands in vanilla [[NetHack 3.6.0]]:
 
{|class="prettytable striped"
 
!Command
 
!Shortcuts
 
!Short Description
 
|-
 
|[[adjust]]
 
|{{kbd|alt|a}}
 
|Adjust [[inventory]] letters.
 
|-
 
|[[annotate]]
 
|{{kbd|alt|A}}
 
|Leave a note about the level.
 
|-
 
|[[chat]]
 
|{{kbd|alt|c}}
 
|Talk to someone.
 
|-
 
|[[conduct]]
 
|{{kbd|alt|C}}
 
|List which challenges you have adhered to.
 
|-
 
|[[dip]]
 
|{{kbd|alt|d}}
 
|Dip an [[object]] into something.
 
|-
 
|[[enhance]]
 
|{{kbd|alt|e}}
 
|Advance or check weapons [[skill]]s.
 
|-
 
|[[exploremode]]
 
|
 
|Change your game mode to explore mode.
 
|-
 
|[[force]]
 
|{{kbd|alt|f}}
 
|Force a lock.
 
|-
 
|[[invoke]]
 
|{{kbd|alt|i}}
 
|Invoke an object's powers.
 
|-
 
|[[jump]]
 
|{{kbd|alt|j}}, {{kbd|j}} (with [[number_pad]] on)
 
|Jump to a location.
 
|-
 
|[[loot]]
 
|{{kbd|alt|l}}, {{kbd|l}} (with [[number_pad]] on)
 
|Loot a [[container|box]] on the floor.
 
|-
 
|[[monster (command)|monster]]
 
|{{kbd|alt|m}}
 
|Use a monster's special ability.
 
|-
 
|[[name]]
 
|{{kbd|alt|n}}, {{kbd|C}}, {{kbd|n}} (with [[number_pad]] on)
 
|Name an [[item]] or type of object.
 
|-
 
|[[offer]]
 
|{{kbd|alt|o}}
 
|Offer a sacrifice to the [[gods]].
 
|-
 
|[[overview]]
 
|{{kbd|alt|O}}, {{kbd|ctrl|o}}
 
|Display an overview of the dungeon.
 
|-
 
|[[pray]]
 
|{{kbd|alt|p}}
 
|Pray to the gods for help.
 
|-
 
|[[quit]]
 
|{{kbd|alt|q}}
 
|Exit without saving current game.
 
|-
 
|[[ride]]
 
|{{kbd|alt|R}}
 
|Ride (or stop riding) a [[monster]].
 
|-
 
|[[rub]]
 
|{{kbd|alt|r}}
 
|Rub a [[lamp]] or a [[stone]].
 
|-
 
|[[sit]]
 
|{{kbd|alt|s}}
 
|Sit down.
 
|-
 
|[[terrain]]
 
|
 
|Show the map without monsters, objects, or traps.
 
|-
 
|[[tip]]
 
|{{kbd|alt|T}}
 
|Tip over a container.
 
|-
 
|[[Turn undead|turn]]
 
|{{kbd|alt|t}}
 
|Turn [[undead]].<ref>This command is related to the [[Dungeons and Dragons|D&D]] concept of "undead turning"; it does ''not'' cause your character to suddenly become an undead monster!</ref>
 
|-
 
|[[twoweapon]]
 
|{{kbd|alt|2}} (with [[number_pad]] off)
 
|Toggle two-weapon combat.
 
|-
 
|[[untrap]]
 
|{{kbd|alt|u}}, {{kbd|u}} (with [[number_pad]] on)
 
|Untrap something.
 
|-
 
|[[version]]
 
|{{kbd|alt|v}}
 
|List compile time options for this version of NetHack.
 
|-
 
|[[wipe]]
 
|{{kbd|alt|w}}
 
|Wipe off your face.
 
|-
 
|[[?]]
 
|{{kbd|alt|?}} (may not work on all platforms)
 
|Get this list of extended commands.
 
|}
 
 
 
Playing in [[wizard mode]] adds several extended commands:
 
{|class="prettytable striped"
 
!Command
 
!Short Description
 
|- <!--
 
|display
 
|detail display layers. Requires '''DISPLAY_LAYERS''' to be defined at compile time.
 
|- -->
 
|levelchange
 
|Change your experience level, restricted to between 1 and 30.
 
|-
 
|lightsources
 
|show mobile light sources
 
|- <!--
 
|migratemons
 
|migrate n random monsters. Requires '''DEBUG_MIGRATING_MONS''' to be defined at compile time.
 
|- -->
 
|monpolycontrol
 
|Control monster polymorphs. Whenever a monster would polymorph, e.g. a shape shifter or from a polymorph trap, you will be asked what the monster should become.
 
|-
 
|panic
 
|test panic routine (fatal to game)
 
|-
 
|polyself
 
|polymorph self
 
|- <!--
 
|portdebug
 
|wizard port debug command. Requires '''PORT_DEBUG''' to be defined at compile time.
 
|- -->
 
|seenv
 
|show seen vectors
 
|-
 
|stats
 
|show memory statistics
 
|-
 
|timeout
 
|look at timeout queue
 
|-
 
|vision
 
|show vision array
 
|-
 
|wizsmell
 
|smell a monster
 
|-
 
|wmode
 
|show wmodes for current level map
 
<!--
 
|-
 
|wizdebug
 
|wizard debug command. Requires '''DEBUG''' to be defined at compile time.
 
-->
 
|}
 
 
 
==SLASH'EM==
 
[[SLASH'EM]] adds the following extended commands:
 
{|class="prettytable striped"
 
!Command
 
!Short Description
 
|-
 
|[[Twoweapon|2weapon]]
 
|Alias of 'Twoweapon'.
 
|-
 
|[[Borrow]]
 
|steals gold from monsters.
 
|-
 
|[[Technique]]
 
|use a technique.
 
|-
 
|[[Polymorph#Self-polymorph|Youpoly]]
 
|Polymorph at will, as a [[Doppelganger (starting race)|Doppelganger]], [[Flame mage]], or [[Ice mage]].
 
|}
 
 
 
== Notes ==
 
<references/>
 
 
 
[[Category:Extended commands|*]]
 
{{nethack-360}}
 

Latest revision as of 18:50, 1 May 2018

Redirect to: