Difference between revisions of "Commands (by key)"

From NetHackWiki
Jump to navigation Jump to search
(Near look)
(Added commands when number_pad is enabled)
 
(15 intermediate revisions by 9 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 7: Line 9:
 
! Key + Shift
 
! Key + Shift
 
! Key + Alt
 
! Key + Alt
 +
!
 
! Key + Ctrl
 
! Key + Ctrl
 
|-
 
|-
Line 12: Line 15:
 
| [[Apply]]
 
| [[Apply]]
 
| A
 
| A
| [[Take off]]
+
| Unequip multiple items
 
| [[Adjust]]
 
| [[Adjust]]
 +
| SOH
 
| Repeat previous command
 
| Repeat previous command
 
|-
 
|-
 
| b
 
| b
| [[Yuhjklbn|Southwest]]
+
| [[Movement|Move]] [[Yuhjklbn|southwest]]
 
| B
 
| B
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|southwest]]
|
 
 
|
 
|
 +
| STX
 +
| [[G|Go mode]] [[Yuhjklbn|southwest]]
 
|-
 
|-
 
| c
 
| c
Line 28: Line 33:
 
| [[Call]]
 
| [[Call]]
 
| [[Chat]]
 
| [[Chat]]
 +
| ETX
 
| [[Quit]]
 
| [[Quit]]
 
|-
 
|-
Line 33: Line 39:
 
| [[Drop]]
 
| [[Drop]]
 
| D
 
| D
| [[Drop]]
+
| [[Drop|Drop multiple]]
 
| [[Dip]]
 
| [[Dip]]
 +
| EOT
 
| [[Kick]]
 
| [[Kick]]
 
|-
 
|-
Line 42: Line 49:
 
| [[Engraving]]
 
| [[Engraving]]
 
| [[Enhance]]
 
| [[Enhance]]
|
+
| ENQ
 +
| ''Search room''
 
|-
 
|-
 
| f
 
| f
| [[Fire]]
+
| [[Firing|Fire]]
 
| F
 
| F
 
| [[Fight]]
 
| [[Fight]]
 
| [[Force]]
 
| [[Force]]
|
+
| 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
 +
| ''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
 +
| [[G|Go mode]] [[Yuhjklbn|west]]
 
|-
 
|-
 
| i
 
| i
 
| [[Inventory]]
 
| [[Inventory]]
 
| I
 
| I
| [[Inventory]]
+
| [[Inventory|Inventory specific types]]
 
| [[Invoke]]
 
| [[Invoke]]
|
+
| 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
 +
| [[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
 +
| [[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
 +
| [[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
 +
| [[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
 +
| [[G|Go mode]] [[Yuhjklbn|southeast]] / ([[Annotate]])
 
|-
 
|-
 
| o
 
| o
Line 112: Line 129:
 
| [[Options]]
 
| [[Options]]
 
| [[Offer]]
 
| [[Offer]]
|
+
| SI
 +
| [[Overview]]
 
|-
 
|-
 
| p
 
| p
Line 118: Line 136:
 
| P
 
| P
 
| [[Put on]]
 
| [[Put on]]
| [[Pray]]
+
| [[Prayer|Pray]]
 +
| DLE
 
| Repeat previous messages
 
| Repeat previous messages
 
|-
 
|-
Line 126: Line 145:
 
| [[Quiver]]
 
| [[Quiver]]
 
| [[Quit]]
 
| [[Quit]]
|
+
| DC1
 +
| Resume pause
 
|-
 
|-
 
| r
 
| r
Line 133: Line 153:
 
| [[Remove]]
 
| [[Remove]]
 
| [[Rub]]
 
| [[Rub]]
 +
| DC2
 
| Redraw screen
 
| Redraw screen
 
|-
 
|-
Line 140: Line 161:
 
| [[Save]]
 
| [[Save]]
 
| [[Sit]]
 
| [[Sit]]
|
+
| DC3
 +
| Pause
 
|-
 
|-
 
| t
 
| t
Line 146: Line 168:
 
| T
 
| T
 
| [[Take off]]
 
| [[Take off]]
| [[Turn]]
+
| [[Turn undead]]
| [[Teleportation]]
+
| DC4
 +
| [[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
 +
| [[G|Go mode]] [[Yuhjklbn|northeast]]
 
|-
 
|-
 
| v
 
| v
Line 161: Line 185:
 
| [[Game history]]
 
| [[Game history]]
 
| [[Version]]
 
| [[Version]]
|
+
| SYN
 +
| ''[[Levelport]]''
 
|-
 
|-
 
| w
 
| w
Line 168: Line 193:
 
| [[Wear]]
 
| [[Wear]]
 
| [[Wipe]]
 
| [[Wipe]]
|
+
| ETB
 +
| ''[[Wish]]''
 
|-
 
|-
 
| x
 
| x
 
| [[Swap weapons]]
 
| [[Swap weapons]]
 
| X
 
| X
| [[Explore mode]]
+
| [[Twoweapon]]
|
 
 
|
 
|
 +
| CAN
 +
| [[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
 +
| [[G|Go mode]] [[Yuhjklbn|northwest]]
 
|-
 
|-
 
| z
 
| z
 
| [[Zap]]
 
| [[Zap]]
 
| Z
 
| Z
| [[Spellcasting]]
+
| [[Spellcasting|Spellcast]]
|
 
 
|
 
|
 +
| SUB
 +
| [[Shell escape]]
 
|-
 
|-
 
| 1
 
| 1
|
+
| [[Numeric prefix]] / (Move southwest)
 
| !
 
| !
 
| [[Shell escape]]
 
| [[Shell escape]]
 
|
 
|
 +
|
 
|
 
|
 
|-
 
|-
 
| 2
 
| 2
|
+
| [[Numeric prefix]] / (Move south)
 
| @
 
| @
| [[Autopickup]]
+
| Toggle [[Autopickup]]
 
|
 
|
 +
| NUL
 
|
 
|
 
|-
 
|-
 
| 3
 
| 3
 +
| [[Numeric prefix]] / (Move southeast)
 +
| #
 +
| [[Extended command]]
 
|
 
|
| #
 
| [[Hash mark|Extended command]]
 
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| 4
 
| 4
|
+
| [[Numeric prefix]] / (Move west)
 
| $
 
| $
 
| [[Purse]]
 
| [[Purse]]
 +
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| 5
 
| 5
 +
| [[Numeric prefix]] / ([[G|Go mode]])
 +
| %
 
|
 
|
| %
 
 
|
 
|
 
|
 
|
Line 227: Line 261:
 
|-
 
|-
 
| 6
 
| 6
|
+
| [[Numeric prefix]] / (Move east)
 
| ^
 
| ^
| [[Trap id]]
+
| [[Trap ID]]
 
|
 
|
 +
| RS
 
|
 
|
 
|-
 
|-
 
| 7
 
| 7
 +
| [[Numeric prefix]] / (Move northwest)
 +
| &
 +
| Identify [[command]]
 
|
 
|
| &
 
| Identify [[Commands|command]]
 
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| 8
 
| 8
 +
| [[Numeric prefix]] / (Move north)
 +
| *
 +
| List currently equipped items
 
|
 
|
| *
 
| List currently used weapons & armor
 
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| 9
 
| 9
|
+
| [[Numeric prefix]] / (Move east)
 
| (
 
| (
 
| List currently used tools
 
| List currently used tools
 +
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| 0
 
| 0
 +
| [[Numeric prefix]] / ([[Inventory]])
 +
| )
 +
| List currently wielded weapons
 
|
 
|
| )
 
| List weapons
 
 
|
 
|
 
|
 
|
Line 265: Line 304:
 
| "
 
| "
 
| List currently worn amulet
 
| List currently worn amulet
 +
|
 
|
 
|
 
|
 
|
Line 273: Line 313:
 
| [[Travel]]
 
| [[Travel]]
 
|
 
|
 +
| US
 
|
 
|
 
|-
 
|-
Line 280: Line 321:
 
|
 
|
 
|
 
|
 +
| ESC
 
|
 
|
 
|-
 
|-
Line 286: Line 328:
 
| <
 
| <
 
| Go up
 
| Go up
 +
|
 
|
 
|
 
|
 
|
Line 293: Line 336:
 
| >
 
| >
 
| Go down
 
| Go down
 +
|
 
|
 
|
 
|
 
|
Line 299: 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
 
|
 
|
 
|-
 
|-
Line 306: Line 351:
 
| [[Far look]]
 
| [[Far look]]
 
| :
 
| :
| [[Far look|Near look]]
+
| [[Near look]]
 +
|
 
|
 
|
 
|
 
|
Line 312: Line 358:
 
| \
 
| \
 
| [[Discoveries|List discoveries]]
 
| [[Discoveries|List discoveries]]
| |
+
| &#124;
 
|
 
|
 
|
 
|
 +
| FS
 
|
 
|
 
|-
 
|-
Line 321: Line 368:
 
| +
 
| +
 
| List & reorder spells
 
| List & reorder spells
 +
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 
|}
 
|}
 +
 +
See also [[menu controls]].
 +
{{nethack-360}}
 +
[[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.