Difference between revisions of "Extended command"
(add command shortcuts) |
|||
Line 3: | Line 3: | ||
Depending on how your game was compiled, these commands can vary or alternate keypresses may be available. On NetHack Qt for the Mac with no # key on the standard keyboard, the hash key is replaced with alt commands. If you are playing on the server, pressing alt+3 will produce the # symbol. | Depending on how your game was compiled, these commands can vary or alternate keypresses may be available. On NetHack Qt for the Mac with no # key on the standard keyboard, the hash key is replaced with alt commands. If you are playing on the server, pressing alt+3 will produce the # symbol. | ||
+ | |||
+ | Many extended commands have aliases that can be accessed by pressing the [[meta key]] ({{kbd|alt}} on most PC keyboards) together with the first letter of the command,<ref>[http://www.nethack.org/v343/Guidebook.html#_TOCentry_7 Guidebook for NetHack 3.4, section 4: Commands]</ref> written as "{{kbd|alt|''letter''|link=0}}" in the table below. If the [[number_pad]] option is turned on, some additional shortcuts that don't use the meta key become available (but the {{kbd|alt|2}} shortcut for #twoweapon is disabled). | ||
Extended commands in vanilla [[NetHack 3.4.3]]: | Extended commands in vanilla [[NetHack 3.4.3]]: | ||
{|class="prettytable striped" | {|class="prettytable striped" | ||
!Command | !Command | ||
+ | !Shortcuts | ||
!Short Description | !Short Description | ||
|- | |- | ||
|[[adjust]] | |[[adjust]] | ||
+ | |{{kbd|alt|a}} | ||
|Adjust [[inventory]] letters. | |Adjust [[inventory]] letters. | ||
|- | |- | ||
|[[chat]] | |[[chat]] | ||
+ | |{{kbd|alt|c}} | ||
|Talk to someone. | |Talk to someone. | ||
|- | |- | ||
|[[conduct]] | |[[conduct]] | ||
+ | | | ||
|List which challenges you have adhered to. | |List which challenges you have adhered to. | ||
|- | |- | ||
|[[dip]] | |[[dip]] | ||
+ | |{{kbd|alt|d}} | ||
|Dip an [[object]] into something. | |Dip an [[object]] into something. | ||
|- | |- | ||
|[[enhance]] | |[[enhance]] | ||
+ | |{{kbd|alt|e}} | ||
|Advance or check weapons [[skill]]s. | |Advance or check weapons [[skill]]s. | ||
|- | |- | ||
|[[force]] | |[[force]] | ||
+ | |{{kbd|alt|f}} | ||
|Force a lock. | |Force a lock. | ||
|- | |- | ||
|[[invoke]] | |[[invoke]] | ||
+ | |{{kbd|alt|i}} | ||
|Invoke an object's powers. | |Invoke an object's powers. | ||
|- | |- | ||
|[[jump]] | |[[jump]] | ||
+ | |{{kbd|alt|j}}, {{kbd|j}} (with [[number_pad]] on) | ||
|Jump to a location. | |Jump to a location. | ||
|- | |- | ||
|[[loot]] | |[[loot]] | ||
+ | |{{kbd|alt|l}}, {{kbd|l}} (with [[number_pad]] on) | ||
|Loot a [[container|box]] on the floor. | |Loot a [[container|box]] on the floor. | ||
|- | |- | ||
|[[monster (command)|monster]] | |[[monster (command)|monster]] | ||
+ | |{{kbd|alt|m}} | ||
|Use a monster's special ability. | |Use a monster's special ability. | ||
|- | |- | ||
|[[name]] | |[[name]] | ||
+ | |{{kbd|alt|n}}, {{kbd|n}} (with [[number_pad]] on) | ||
|Name an [[item]] or type of object. | |Name an [[item]] or type of object. | ||
|- | |- | ||
|[[offer]] | |[[offer]] | ||
+ | |{{kbd|alt|o}} | ||
|Offer a sacrifice to the [[gods]]. | |Offer a sacrifice to the [[gods]]. | ||
|- | |- | ||
|[[pray]] | |[[pray]] | ||
+ | |{{kbd|alt|p}} | ||
|Pray to the gods for help. | |Pray to the gods for help. | ||
|- | |- | ||
|[[quit]] | |[[quit]] | ||
+ | |{{kbd|alt|q}} | ||
|Exit without saving current game. | |Exit without saving current game. | ||
|- | |- | ||
|[[ride]] | |[[ride]] | ||
+ | | | ||
|Ride (or stop riding) a [[monster]]. | |Ride (or stop riding) a [[monster]]. | ||
|- | |- | ||
|[[rub]] | |[[rub]] | ||
+ | |{{kbd|alt|r}} | ||
|Rub a [[lamp]] or a [[stone]]. | |Rub a [[lamp]] or a [[stone]]. | ||
|- | |- | ||
|[[sit]] | |[[sit]] | ||
+ | |{{kbd|alt|s}} | ||
|Sit down. | |Sit down. | ||
|- | |- | ||
|[[Turn undead|turn]] | |[[Turn undead|turn]] | ||
+ | |{{kbd|alt|t}} | ||
|Turn [[undead]].<ref>This command is related to the [[Dungeons and Dragons|D&D]] concept of "undead turning"; it does ''not'' cause your character to suddenly become an undead monster!</ref> | |Turn [[undead]].<ref>This command is related to the [[Dungeons and Dragons|D&D]] concept of "undead turning"; it does ''not'' cause your character to suddenly become an undead monster!</ref> | ||
|- | |- | ||
|[[twoweapon]] | |[[twoweapon]] | ||
+ | |{{kbd|alt|2}} (with [[number_pad]] off) | ||
|Toggle two-weapon combat. | |Toggle two-weapon combat. | ||
|- | |- | ||
|[[untrap]] | |[[untrap]] | ||
+ | |{{kbd|alt|u}}, {{kbd|u}} (with [[number_pad]] on) | ||
|Untrap something. | |Untrap something. | ||
|- | |- | ||
|[[version]] | |[[version]] | ||
+ | |{{kbd|alt|v}} | ||
|List compile time options for this version of NetHack. | |List compile time options for this version of NetHack. | ||
|- | |- | ||
|[[wipe]] | |[[wipe]] | ||
+ | |{{kbd|alt|w}} | ||
|Wipe off your face. | |Wipe off your face. | ||
|- | |- | ||
|[[?]] | |[[?]] | ||
+ | |{{kbd|alt|?}} (may not work on all platforms) | ||
|Get this list of extended commands. | |Get this list of extended commands. | ||
|} | |} |
Revision as of 18:03, 13 December 2015
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 |
An extended command is executed by pressing the # key followed by the command itself (the first letter or two should suffice). Extended commands exist because the developers of NetHack ran out of letters. They are supposedly less frequently used than the single-letter commands, but you probably won't get very far without using some of them. For instance, it is impossible to win the game without using #offer.
Depending on how your game was compiled, these commands can vary or alternate keypresses may be available. On NetHack Qt for the Mac with no # key on the standard keyboard, the hash key is replaced with alt commands. If you are playing on the server, pressing alt+3 will produce the # symbol.
Many extended commands have aliases that can be accessed by pressing the meta key (alt on most PC keyboards) together with the first letter of the command,[1] written as "alt + letter" in the table below. If the number_pad option is turned on, some additional shortcuts that don't use the meta key become available (but the alt + 2 shortcut for #twoweapon is disabled).
Extended commands in vanilla NetHack 3.4.3:
Command | Shortcuts | Short Description |
---|---|---|
adjust | alt + a | Adjust inventory letters. |
chat | alt + c | Talk to someone. |
conduct | List which challenges you have adhered to. | |
dip | alt + d | Dip an object into something. |
enhance | alt + e | Advance or check weapons skills. |
force | alt + f | Force a lock. |
invoke | alt + i | Invoke an object's powers. |
jump | alt + j, j (with number_pad on) | Jump to a location. |
loot | alt + l, l (with number_pad on) | Loot a box on the floor. |
monster | alt + m | Use a monster's special ability. |
name | alt + n, n (with number_pad on) | Name an item or type of object. |
offer | alt + o | Offer a sacrifice to the gods. |
pray | alt + p | Pray to the gods for help. |
quit | alt + q | Exit without saving current game. |
ride | Ride (or stop riding) a monster. | |
rub | alt + r | Rub a lamp or a stone. |
sit | alt + s | Sit down. |
turn | alt + t | Turn undead.[2] |
twoweapon | alt + 2 (with number_pad off) | Toggle two-weapon combat. |
untrap | alt + u, u (with number_pad on) | Untrap something. |
version | alt + v | List compile time options for this version of NetHack. |
wipe | alt + w | Wipe off your face. |
? | alt + ? (may not work on all platforms) | Get this list of extended commands. |
Playing in wizard mode adds several extended commands.
Command | Short Description |
---|---|
levelchange | Change your experience level, restricted to between 1 and 30. |
lightsources | show mobile light sources |
monpolycontrol | Control monster polymorphs. Whenever a monster would polymorph, e.g. a shape shifter or from a polymorph trap, you will be asked what the monster should become. |
panic | test panic routine (fatal to game) |
polyself | polymorph self |
seenv | show seen vectors |
stats | show memory statistics |
timeout | look at timeout queue |
vision | show vision array |
SLASH'EM
SLASH'EM adds the following extended commands:
Command | Short Description |
---|---|
2weapon | Alias of 'Twoweapon'. |
Borrow | steals gold from monsters. |
Technique | use a technique. |
Youpoly | Polymorph at will, as a Doppelganger, Flame mage, or Ice mage. |
Notes
- ↑ Guidebook for NetHack 3.4, section 4: Commands
- ↑ This command is related to the D&D concept of "undead turning"; it does not cause your character to suddenly become an undead monster!