Wikia

Wikihack

Numeric prefix

2,032pages on
this wiki
Talk0

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.

Around Wikia's network

Random Wiki