--( * )--

Doctor Kildeer's Guide to NetHack

Commands

Previous page: Monsters
Previous Page: Monsters
Home page
Home Page
Next page: Program Options
Next Page: Program Options

--( * )--

Fancy antique shield

Commands are given to NetHack by typing one or two characters; NetHack then asks questions to find out what it needs to know to do your bidding.

You can put a number before most commands to repeat them that many times; for example, 10s will search ten times. If you have the number_pad option set, you must type n to prefix a count, so the example above would be typed n10s instead. Commands for which counts make no sense ignore them. In addition, movement commands can be prefixed for greater control. To cancel a count or a prefix, press the Esc key.

For example, a common question, in the form "What do you want to use? [a-zA-Z ?*]", asks you to choose an object you are carrying. Here, "a-zA-Z" are the inventory letters of your possible choices. Typing ? gives you an inventory list of these items, so you can see what each letter refers to. In this example, there is also a '*' indicating that you may choose an object not on the list, if you wanted to use something unexpected. Typing a * lists your entire inventory, so you can see the inventory letters of every object you're carrying. Finally, if you change your mind and decide you don't want to do this command after all, you can press the Esc key to abort the command.

The list of commands is rather long, but it can be read at any time during the game through the ? command, which accesses a menu of helpful texts.

--( * )--

Command Reference

Keystroke(s) Function
? Help menu: display one of several help texts available. (Details)
/ Tell what a symbol represents.
& Tell what a command does.
< Go up a Staircase to the previous Dungeon level (if you are on the stairs). Also works with Ladders.
> Go down a staircase to the next level (if you are on the stairs).
<-^v-> Go one step in the appropriate direction, or attack in that direction. (Details)
Shift <-^v-> Go in that direction until you hit a Wall or run into something.
m, then <-^v-> Move without picking up any Objects.
M, then <-^v-> Move far, no pickup.
g, then <-^v-> Move until something interesting is found.
G, then <-^v-> Move until something interesting (besides forking of Corridors) is found.
. or Space bar Rest, do nothing for one turn.

--<>--

a Apply (use) a Tool (Pick-axe, Key, Lamp…).
A Remove all Armor. Use T (take off) to take off only one piece of Armor.
Ctrl a Redo the previous command.
lt a Adjust Inventory letters (the fixinv option must be "on" to do this).
c Close a Door.
C Call (name) an individual Monster.
Ctrl c Panic button. Quit the game.
lt c Talk to (chat with) someone.
d Drop something.
d7a = Drop seven items of object a.
D Drop several things. (Details)
Da = Drop all objects, without asking for confirmation;
Du = Drop only unpaid objects (when in a Shop);
D%u = Drop only unpaid Food.
Ctrl d Kick something (usually a Door).
lt d Dip an Object into something.
e Eat Food.
E Engrave a message on the floor. (Details)
E- = Write in the dust with your fingers.
lt f Force a Lock using currently wielded Weapon.
i List your Inventory (everything you're carrying).
I (capital letter "eye") List selected parts of your Inventory.
I* = List all gems in inventory;
Iu = List all unpaid items;
Ix = List all used-up items that are on your shopping bill;
I$ = Count your money.
lt i Invoke an object's special powers.
j Jump to another location. Available only if num_pad option is on.
lt j Jump to another location.
k Kick something (usually a door). Available only if num_pad option is on.
l (lowercase letter "ell") Loot a box on the floor. Available only if num_pad option is on.
lt l Loot a box on the floor.
lt m Use a monster's special ability.
N Name an item or type of object. Available only if num_pad option is on.
lt n Name an item or type of object.
o Open a door.
O Set Options. (Details)
lt o Offer a sacrifice to the gods.
p Pay your shopping bill.
P Put on a ring.
Ctrl p Repeat previous message (subsequent Ctrl-P's repeat earlier messages).
lt p Pray to the gods for help.
q Quaff (drink) a potion.
Q Quit the game.
r Read a scroll or spell book.
R Remove a ring.
Ctrl r Redraw the screen.
lt r Rub a lamp.
s Search for secret doors and traps around you. It usually takes several tries.
S Save the game. The game will be restored automatically the next time you play.
lt s Sit down (on the floor, a throne, an altar, an egg, etc).
t Throw an object or shoot a projectile. (Details)
T Take off armor.
Ctrl t Teleport, if you have the ability.
lt t Turn undead.
u Untrap a trapped object or door. Available only if num_pad option is on.
lt u Untrap something (usually a trapped object).
v Display version number.
V Display the game history.
v Print compile time options for this version of NetHack.
w Wield weapon.
W- = Wield nothing, use your bare hands.
W Wear armor.
lt w Wipe off your face.
x List the spells you know (same as +).
X Enter explore (discovery) mode.
z Zap a wand.
Z Zap (cast) a spell.
Ctrl x Suspend the game (UNIX ® versions with job control only).

--<>--

: Look at what is here.
, Pick up some things.
@ Toggle the pickup option on and off.
^ Ask for the type of a trap you found earlier.
) Tell what weapon you are wielding.
[ Tell what armor you are wearing.
= Tell what rings you are wearing.
" Tell what amulet you are wearing.
( Tell what tools you are using.
$ Count your gold pieces.
+ List the spells you know (same as x).
\ Show what types of objects have been discovered.
! Escape to a shell.

--( * )--

Previous Page: Monsters
Previous page: Monsters
Home Page
Home page
Next Page: Program Options
Next page: Program Options
1