Wikia

Wikihack

Watchlist Recent changes

Numeric prefix

Many commands in NetHack can be preceded by a numeric prefix, which modifies the action taken. This usually involves repeating the command several times, or interacting with a specified number of items.

If you are playing with vi keys (i.e. with number_pad off), you can enter numeric prefixes directly before the command, e.g. 10s to search for 10 moves.

If you are playing with number_pad on, you will need to use [n] to begin a numeric prefix, e.g. n100t$ to throw 100 zorkmids.

When firing a missile, the numeric prefix caps the number of missiles fired in a single move (see multishot). It can only decrease, not increase, the number of missiles fired.

You can also use numbers to specify a certain number of items in some menus, such as when using the extended drop command or when applying a container. When the menu is visible, you can type a number followed by the menu letter (e.g. 20a) to manipulate only some of the items in the stack. You do not need to use n, even when number_pad is enabled.

This page is a stub. You could probably expand this page should you wish to do so.

Pages on Wikihack

Add a Page
2,022pages on
this wiki

Latest Photos

Add a Photo
1,116photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki