Difference between revisions of "Commands (by key)"

From NetHackWiki
Jump to navigation Jump to search
(Added commands when number_pad is enabled)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{keyboard commands}}
 
{{keyboard commands}}
 +
Commands in (parentheses) are available only if [[Options#number_pad|number_pad]] is enabled; the directions given assume it is set to 1 or 2 (not the phone-style keypad layout). Commands in ''italics'' are available only in [[wizard mode]].
 +
 
{| class="sortable wikitable" border="1"
 
{| class="sortable wikitable" border="1"
 
|-
 
|-
Line 13: Line 15:
 
| [[Apply]]
 
| [[Apply]]
 
| A
 
| A
| [[Take off|Take off many]]
+
| Unequip multiple items
 
| [[Adjust]]
 
| [[Adjust]]
 
| SOH
 
| SOH
Line 19: Line 21:
 
|-
 
|-
 
| b
 
| b
| [[Yuhjklbn|Southwest]]
+
| [[Movement|Move]] [[Yuhjklbn|southwest]]
 
| B
 
| B
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|southwest]]
 
|
 
|
 
| STX
 
| STX
|
+
| [[G|Go mode]] [[Yuhjklbn|southwest]]
 
|-
 
|-
 
| c
 
| c
Line 37: Line 39:
 
| [[Drop]]
 
| [[Drop]]
 
| D
 
| D
| [[Drop]]
+
| [[Drop|Drop multiple]]
 
| [[Dip]]
 
| [[Dip]]
 
| EOT
 
| EOT
Line 48: Line 50:
 
| [[Enhance]]
 
| [[Enhance]]
 
| ENQ
 
| ENQ
|
+
| ''Search room''
 
|-
 
|-
 
| f
 
| f
Line 56: Line 58:
 
| [[Force]]
 
| [[Force]]
 
| ACK
 
| ACK
|
+
| ''Map level''
 
|-
 
|-
 
| g
 
| g
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[G|Go mode]]
 
| G
 
| G
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[G|Go mode]]
 
|
 
|
 
| BEL
 
| BEL
|
+
| ''Create monster''
 
|-
 
|-
 
| h
 
| h
| [[Yuhjklbn|West]]
+
| [[Movement|Move]] [[Yuhjklbn|west]] / ([[Help (in-game)|Help]])
 
| H
 
| H
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|west]]
 
|
 
|
 
| BS
 
| BS
|
+
| [[G|Go mode]] [[Yuhjklbn|west]]
 
|-
 
|-
 
| i
 
| i
 
| [[Inventory]]
 
| [[Inventory]]
 
| I
 
| I
| [[Inventory]]
+
| [[Inventory|Inventory specific types]]
 
| [[Invoke]]
 
| [[Invoke]]
 
| HT
 
| HT
|
+
| ''Identify''
 
|-
 
|-
 
| j
 
| j
| [[Yuhjklbn|South]]
+
| [[Movement|Move]] [[Yuhjklbn|south]] / ([[Jump]])
 
| J
 
| J
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|south]]
 
| [[Jump]]
 
| [[Jump]]
 
| LF
 
| LF
|
+
| [[G|Go mode]] [[Yuhjklbn|south]]
 
|-
 
|-
 
| k
 
| k
| [[Yuhjklbn|North]]
+
| [[Movement|Move]] [[Yuhjklbn|north]] / ([[Kick]])
 
| K
 
| K
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|north]]
 
|
 
|
 
| VT
 
| VT
|
+
| [[G|Go mode]] [[Yuhjklbn|north]]
 
|-
 
|-
 
| l
 
| l
| [[Yuhjklbn|East]]
+
| [[Movement|Move]] [[Yuhjklbn|east]] / ([[Loot]])
 
| L
 
| L
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|east]]
 
| [[Loot]]
 
| [[Loot]]
 
| FF
 
| FF
|
+
| [[G|Go mode]] [[Yuhjklbn|east]] / (Redraw screen)
 
|-
 
|-
 
| m
 
| m
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[M|Move only]]
 
| M
 
| M
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[M|Move only]]
 
| [[Monster]]
 
| [[Monster]]
 
| CR
 
| CR
|
+
| [[G|Go mode]] [[Yuhjklbn|south]]
 
|-
 
|-
 
| n
 
| n
| [[Yuhjklbn|Southeast]]
+
| [[Movement|Move]] [[Yuhjklbn|southeast]] / ([[Numeric prefix]])
 
| N
 
| N
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|southeast]] / ([[Name]])
 
| [[Name]]
 
| [[Name]]
 
| SO
 
| SO
|
+
| [[G|Go mode]] [[Yuhjklbn|southeast]] / ([[Annotate]])
 
|-
 
|-
 
| o
 
| o
Line 128: Line 130:
 
| [[Offer]]
 
| [[Offer]]
 
| SI
 
| SI
|
+
| [[Overview]]
 
|-
 
|-
 
| p
 
| p
Line 134: Line 136:
 
| P
 
| P
 
| [[Put on]]
 
| [[Put on]]
| [[Prayer]]
+
| [[Prayer|Pray]]
 
| DLE
 
| DLE
 
| Repeat previous messages
 
| Repeat previous messages
Line 144: Line 146:
 
| [[Quit]]
 
| [[Quit]]
 
| DC1
 
| DC1
|
+
| Resume pause
 
|-
 
|-
 
| r
 
| r
Line 160: Line 162:
 
| [[Sit]]
 
| [[Sit]]
 
| DC3
 
| DC3
|
+
| Pause
 
|-
 
|-
 
| t
 
| t
Line 166: Line 168:
 
| T
 
| T
 
| [[Take off]]
 
| [[Take off]]
| [[Turn]]
+
| [[Turn undead]]
 
| DC4
 
| DC4
| [[Teleportation]]
+
| [[Teleport]]
 
|-
 
|-
 
| u
 
| u
| [[Yuhjklbn|Northeast]]
+
| [[Movement|Move]] [[Yuhjklbn|northeast]] / ([[Untrap]])
 
| U
 
| U
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|northeast]]
 
| [[Untrap]]
 
| [[Untrap]]
 
| NAK
 
| NAK
|
+
| [[G|Go mode]] [[Yuhjklbn|northeast]]
 
|-
 
|-
 
| v
 
| v
Line 184: Line 186:
 
| [[Version]]
 
| [[Version]]
 
| SYN
 
| SYN
|
+
| ''[[Levelport]]''
 
|-
 
|-
 
| w
 
| w
Line 192: Line 194:
 
| [[Wipe]]
 
| [[Wipe]]
 
| ETB
 
| ETB
|
+
| ''[[Wish]]''
 
|-
 
|-
 
| x
 
| x
 
| [[Swap weapons]]
 
| [[Swap weapons]]
 
| X
 
| X
| [[Explore mode]]
+
| [[Twoweapon]]
 
|
 
|
 
| CAN
 
| CAN
| [[Base attributes]]
+
| [[Base attributes]] ''and [[intrinsics]]''
 
|-
 
|-
 
| y
 
| y
| [[Yuhjklbn|Northwest]]
+
| [[Movement|Move]] [[Yuhjklbn|northwest]]
 
| Y
 
| Y
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|northwest]]
 
|
 
|
 
| EM
 
| EM
|
+
| [[G|Go mode]] [[Yuhjklbn|northwest]]
 
|-
 
|-
 
| z
 
| z
 
| [[Zap]]
 
| [[Zap]]
 
| Z
 
| Z
| [[Spellcasting]]
+
| [[Spellcasting|Spellcast]]
 
|
 
|
 
| SUB
 
| SUB
Line 219: Line 221:
 
|-
 
|-
 
| 1
 
| 1
|
+
| [[Numeric prefix]] / (Move southwest)
 
| !
 
| !
 
| [[Shell escape]]
 
| [[Shell escape]]
Line 227: Line 229:
 
|-
 
|-
 
| 2
 
| 2
|
+
| [[Numeric prefix]] / (Move south)
 
| @
 
| @
| [[Autopickup]]
+
| Toggle [[Autopickup]]
 
|
 
|
 
| NUL
 
| NUL
Line 235: Line 237:
 
|-
 
|-
 
| 3
 
| 3
|
+
| [[Numeric prefix]] / (Move southeast)
 
| #
 
| #
 
| [[Extended command]]
 
| [[Extended command]]
Line 243: Line 245:
 
|-
 
|-
 
| 4
 
| 4
|
+
| [[Numeric prefix]] / (Move west)
 
| $
 
| $
 
| [[Purse]]
 
| [[Purse]]
Line 251: Line 253:
 
|-
 
|-
 
| 5
 
| 5
|
+
| [[Numeric prefix]] / ([[G|Go mode]])
 
| %
 
| %
 
|
 
|
Line 259: Line 261:
 
|-
 
|-
 
| 6
 
| 6
|
+
| [[Numeric prefix]] / (Move east)
 
| ^
 
| ^
| [[Trap id]]
+
| [[Trap ID]]
 
|
 
|
 
| RS
 
| RS
Line 267: Line 269:
 
|-
 
|-
 
| 7
 
| 7
|
+
| [[Numeric prefix]] / (Move northwest)
 
| &
 
| &
| Identify [[Commands|command]]
+
| Identify [[command]]
 
|
 
|
 
|
 
|
Line 275: Line 277:
 
|-
 
|-
 
| 8
 
| 8
|
+
| [[Numeric prefix]] / (Move north)
 
| *
 
| *
| List currently used weapons & armor
+
| List currently equipped items
 
|
 
|
 
|
 
|
Line 283: Line 285:
 
|-
 
|-
 
| 9
 
| 9
|
+
| [[Numeric prefix]] / (Move east)
 
| (
 
| (
 
| List currently used tools
 
| List currently used tools
Line 291: Line 293:
 
|-
 
|-
 
| 0
 
| 0
|
+
| [[Numeric prefix]] / ([[Inventory]])
 
| )
 
| )
| List weapons
+
| List currently wielded weapons
 
|
 
|
 
|
 
|
Line 341: Line 343:
 
| [[What is]]
 
| [[What is]]
 
| ?
 
| ?
| [[Help (in-game)]]
+
| [[Help (in-game)|Help]]
 
| [[Extended command|List all extended commands]]
 
| [[Extended command|List all extended commands]]
 
| DEL
 
| DEL
Line 349: Line 351:
 
| [[Far look]]
 
| [[Far look]]
 
| :
 
| :
| [[Far look|Near look]]
+
| [[Near look]]
 
|
 
|
 
|
 
|
Line 373: Line 375:
  
 
See also [[menu controls]].
 
See also [[menu controls]].
{{nethack-343}}
+
{{nethack-360}}
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 21:28, 27 June 2021

Keyboard commands
~ ! @ # $ % ^ & * ( ) _ = +
Q W E R T Y U I O P { } |
q w e r t y u i o p [ ] \
A S D F G H J K L : "
a s d f g h j k l ; '
Z X C V B N M < > ?
z x c v b n m , . /
q w e r t u i o p Alt
a s d f j l Alt
c v n m ? Alt
A C R T O Alt
a c d o p r t [ Ctrl

Commands in (parentheses) are available only if number_pad is enabled; the directions given assume it is set to 1 or 2 (not the phone-style keypad layout). Commands in italics are available only in wizard mode.

Key Key + Shift Key + Alt Key + Ctrl
a Apply A Unequip multiple items Adjust SOH Repeat previous command
b Move southwest B Go mode southwest STX Go mode southwest
c Close door C Call Chat ETX Quit
d Drop D Drop multiple Dip EOT Kick
e Eat E Engraving Enhance ENQ Search room
f Fire F Fight Force ACK Map level
g Go mode G Go mode BEL Create monster
h Move west / (Help) H Go mode west BS Go mode west
i Inventory I Inventory specific types Invoke HT Identify
j Move south / (Jump) J Go mode south Jump LF Go mode south
k Move north / (Kick) K Go mode north VT Go mode north
l Move east / (Loot) L Go mode east Loot FF Go mode east / (Redraw screen)
m Move only M Move only Monster CR Go mode south
n Move southeast / (Numeric prefix) N Go mode southeast / (Name) Name SO Go mode southeast / (Annotate)
o Open O Options Offer SI Overview
p Pay bill P Put on Pray DLE Repeat previous messages
q Quaff Q Quiver Quit DC1 Resume pause
r Read R Remove Rub DC2 Redraw screen
s Search S Save Sit DC3 Pause
t Throw T Take off Turn undead DC4 Teleport
u Move northeast / (Untrap) U Go mode northeast Untrap NAK Go mode northeast
v Version V Game history Version SYN Levelport
w Wield W Wear Wipe ETB Wish
x Swap weapons X Twoweapon CAN Base attributes and intrinsics
y Move northwest Y Go mode northwest EM Go mode northwest
z Zap Z Spellcast SUB Shell escape
1 Numeric prefix / (Move southwest) ! Shell escape
2 Numeric prefix / (Move south) @ Toggle Autopickup NUL
3 Numeric prefix / (Move southeast) # Extended command
4 Numeric prefix / (Move west) $ Purse
5 Numeric prefix / (Go mode) %
6 Numeric prefix / (Move east) ^ Trap ID RS
7 Numeric prefix / (Move northwest) & Identify command
8 Numeric prefix / (Move north) * List currently equipped items
9 Numeric prefix / (Move east) ( List currently used tools
0 Numeric prefix / (Inventory) ) List currently wielded weapons
' " List currently worn amulet
- _ Travel US
[ List currently worn armor { ESC
, Pick up < Go up
. Rest > Go down
/ What is ? Help List all extended commands DEL
; Far look : Near look
\ List discoveries | FS
= List currently worn rings + List & reorder spells

See also menu controls.

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.