Document explicitly what m-prefix does to each command
[aNetHack.git] / dat / cmdhelp
blobcd0944d2dba63dbb62aa529f5ab64ba0788a22cd
1 &# cmdhelp
2 &       Tell what command a keystroke invokes
3 ^       Show the type of an adjacent trap
4 ^[      Cancel command (same as ESCape key)
5 &? debug
6 ^E      Search for nearby traps, secret doors, and unseen monsters
7 ^F      Map level; reveals traps and secret corridors but not secret doors
8 ^G      Create a monster by name or class
9 ^I      View inventory with all items identified
10 ^O      List special level locations
11 ^V      Teleport between levels
12 ^W      Wish for something
13 &: #!debug
14 ^E      unavailable debugging command
15 ^F      unavailable debugging command
16 ^G      unavailable debugging command
17 ^I      unavailable debugging command
18 ^O      Shortcut for '#overview': list interesting levels you have visited
19 ^V      unavailable debugging command
20 ^W      unavailable debugging command
21 &. #?debug
22 &? number_pad=0,-1
23 b       Go southwest 1 space
24 B       Go southwest until you are on top of something
25 h       Go west 1 space
26 H       Go west until you are on top of something
27 j       Go south 1 space
28 J       Go south until you are on top of something
29 k       Go north 1 space
30 K       Go north until you are on top of something
31 l       Go east 1 space
32 L       Go east until you are on top of something
33 n       Go southeast 1 space
34 N       Go southeast until you are on something
35 u       Go northeast 1 space
36 U       Go northeast until you are on top of something
37 &# y,Y handled below
38 &: #number_pad=1,2,3,4
39 h       Help: synonym for '?'
40 j       Jump: shortcut for '#jump'
41 k       Kick: synonym for '^D'
42 l       Loot: shortcut for '#loot'
43 n       Start a count; continue with digit(s)
44 N       Name: shortcut for '#name'
45 u       Untrap: shortcut for '#untrap'
46 &. #0,-1 vs 1,2,3,4
47 a       Apply (use) a tool or break a wand
48 A       Remove all armor and/or all accessories and/or unwield weapons
49 ^A      Redo the previous command
50 ^B      Go southwest until you are near something
51 c       Close a door
52 C       Call (name) a monster, an individual object, or a type of object
53 ^C      Interrupt: quit the game
54 d       Drop an item
55 D       Drop specific item types
56 ^D      Kick something (usually a door, chest, or box)
57 e       Eat something
58 E       Engrave writing on the floor
59 f       Fire ammunition from quiver
60 F       Followed by direction, fight a monster (even if you don't sense it)
61 g       Followed by direction, move until you are near something
62 G       Followed by direction, same as control-direction
63 ^H      Go west until you are near something
64 i       Show your inventory
65 I       Inventory specific item types
66 ^J      Go south until you are near something
67 ^K      Go north until you are near something
68 ^L      Go east until you are near something
69 m       Followed by direction, move without picking anything up or fighting
70 M       Followed by direction, move a distance without picking anything up
71 ^N      Go southeast until you are near something
72 o       Open a door
73 O       Show option settings, possibly change them
74 p       Pay your shopping bill
75 P       Put on an accessory (ring, amulet, etc; will work for armor too)
76 ^P      Toggle through previously displayed game messages
77 q       Quaff (drink) something (potion, water, etc)
78 Q       Select ammunition for quiver (use '#quit' to quit)
79 r       Read a scroll or spellbook
80 R       Remove an accessory (ring, amulet, etc; will work for armor too)
81 ^R      Redraw screen
82 s       Search all immediately adjacent locations for traps and secret doors
83 S       Save the game (and exit; there is no "save and keep going")
84 t       Throw something (choose an item, then a direction--not a target)
85 T       Take off one piece of armor (will work for accessories too)
86 ^T      Teleport around level
87 ^U      Go northeast until you are near something
88 v       Show version ('#version' shows more information)
89 V       Show history of game's development
90 w       Wield a weapon (for dual weapons: 'w' secondary, 'x', 'w' primary, 'X')
91 W       Wear a piece of armor (will work for accessories too)
92 x       Swap wielded and secondary weapons
93 X       Toggle two-weapon combat
94 ^X      Show your attributes (shows more in debug or explore mode)
95 &? number_pad=0,1,2,3,4
96 &? number_pad=0
97 y       Go northwest 1 space
98 Y       Go northwest until you are on top of something
100 ^Y      Go northwest until you are near something
101 z       Zap a wand
102 Z       Zap (cast) a spell
103 &? suspend
104 ^Z      Suspend game; 'fg' (foreground) to resume
106 ^Z      unavailable command: suspend
108 &: number_pad=-1
109 y       Zap a wand
110 Y       Zap (cast) a spell
111 &? suspend
112 ^Y      Suspend game; 'fg' (foreground) to resume
114 ^Y      unavailable command: suspend
116 z       Go northwest 1 space
117 Z       Go northwest until you are on top of something
118 ^Z      Go northwest until you are near something
119 &. #0,1..4 vs -1
120 <       Go up a staircase
121 >       Go down a staircase
122 /       Show what type of thing a symbol corresponds to
123 ?       Give a help message
124 &? shell
125 !       Do a shell escape; 'exit' shell to come back
127 !       unavailable command: shell
129 \       Show what object types have been discovered
130 `       Show discovered types for one class of objects
131 _       Travel via a shortest-path algorithm to a point on the map
132 .       Rest one move while doing nothing
133 &? rest_on_space
134         Rest one move while doing nothing
136 :       Look at what is on the floor
137 ;       Show what type of thing a map symbol on the level corresponds to
138 ,       Pick up things at the current location
139 @       Toggle the pickup option on/off
140 )       Show the weapon(s) currently wielded or readied
141 [       Show the armor currently worn
142 =       Show the ring(s) currently worn
143 "       Show the amulet currently worn
144 (       Show the tools currently in use
145 *       Show all equipment in use (combination of the ),[,=,",( commands)
146 $       Count your gold
147 +       List known spells
148 #       Perform an extended command (use '#?' to list choices)
149 &# number_pad:
150 &#  -1 = numpad off, swap y with z (including Y with Z, ^Y with ^Z, M-y &c)
151 &#   0 = numpad off (default)
152 &#   1 = numpad on, normal keypad layout, '5'->'g'
153 &#   2 = numpad on, normal keypad layout, '5'->'G'
154 &#   3 = numpad on, phone keypad layout, '5'->'g'
155 &#   4 = numpad on, phone keypad layout, '5'->'G'
156 &? number_pad = 1,2,3,4
157 0       Show inventory
158 4       Move west
159 6       Move east
160 -       'F' prefix; force fight
161 &: #-1,0
162 0       Continue a count
163 4       Start or continue a count
164 6       Start or continue a count
165 &. #1,2,3,4 vs -1,0
166 &? number_pad=1,2
167 7       Move northwest
168 8       Move north
169 9       Move northeast
170 1       Move southwest
171 2       Move south
172 3       Move southeast
173 &: number_pad=3,4
174 1       Move northwest
175 2       Move north
176 3       Move northeast
177 7       Move southwest
178 8       Move south
179 9       Move southeast
180 &: #-1,0
181 1       Start or continue a count
182 2       Start or continue a count
183 3       Start or continue a count
184 7       Start or continue a count
185 8       Start or continue a count
186 9       Start or continue a count
187 &. #1,2 vs 3,4 vs -1,0
188 &? number_pad=1,3
189 5       'g' movement prefix
190 M-5     'G' movement prefix
191 &: number_pad=2,4
192 5       'G' movement prefix
193 M-5     'g' movement prefix
194 M-0     Inventory specific item types
195 &: #-1,0
196 5       Start or continue a count
197 M-2     Toggle two-weapon combat
198 &. #1,3 vs 2,4 vs -1,0
199 M-?     Display extended command help (if the platform allows this)
200 M-a     Adjust inventory letters
201 M-A     Annotate: supply a name for the current dungeon level
202 M-c     Chat: talk to an adjacent creature
203 M-C     Conduct: list voluntary challenges you have maintained
204 M-d     Dip an object into something
205 M-e     Enhance: check weapons skills, advance them if eligible
206 M-f     Force a lock
207 M-i     Invoke an object's special powers
208 M-j     Jump to a nearby location
209 M-l     Loot a box on the floor
210 M-m     When polymorphed, use a monster's special ability
211 M-n     Name a monster, an individual object, or a type of object
212 M-N     Name a monster, an individual object, or a type of object
213 M-o     Offer a sacrifice to the gods
214 M-O     Overview: show a summary of the explored dungeon
215 M-p     Pray to the gods for help
216 M-q     Quit (exit without saving)
217 M-r     Rub a lamp or a touchstone
218 M-R     Ride: mount or dismount a saddled steed
219 M-s     Sit down
220 M-t     Turn undead
221 M-T     Tip: empty a container
222 M-u     Untrap something (trap, door, or chest)
223 M-v     Print compile time options for this version of NetHack
224 M-w     Wipe off your face