Command Prompt for Windows




Rogue - Commands

Commands are given to rogue by typing one or two characters. Most commands can be preceded by a count to repeat them (e.g. typing "10s" will do ten searches). Commands for which counts make no sense have the count ignored. To cancel a count or a prefix, type < ESC >. The list of commands is rather long, but it can be read at any time during the game with the "?" command. Here it is for reference, with a short explanation of each command :-

?The help command. Asks for a character to give help on. If you type a "*", it will list all the commands, otherwise it will explain what the character you typed does.
/This is the "What is that on the screen?" command. A "/" followed by any character that you see on the level, will tell you what that character is. For instance, typing "/@" will tell you that the "@" symbol represents you, the player.
h, H, ^HMove left. You move one space to the left. If you use upper case "h", you will continue to move left until you run into something. This works for all movement commands (e.g. "L" means run in direction "l") If you use the "control" "h", you will continue moving in the specified direction until you pass something interesting or run into a wall. You should experiment with this, since it is a very useful command, but very difficult to describe. This also works for all movement commands.
jMove down.
kMove up.
lMove right.
yMove diagonally up and left.
uMove diagonally up and right.
bMove diagonally down and left.
nMove diagonally down and right.
tThrow an object. This is a prefix command. When followed with a direction it throws an object in the specified direction. (e.g. type "th" to throw something to the left.)
fFight until someone dies. When followed with a direction this will force you to fight the creature in that direction until either you or it bites the big one.
mMove onto something without picking it up. This will move you one space in the direction you specify and, if there is an object there you can pick up, it won't do it.
zZap prefix. Point a staff or wand in a given direction and fire it. Even non-directional staves must be pointed in some direction to be used.
^Identify trap command. If a trap is on your map and you can't remember what type it is, you can get rogue to remind you by getting next to it and typing "^" followed by the direction that would move you on top of it.
sSearch for traps and secret doors. Examine each space immediately adjacent to you for the existence of a trap or secret door. There is a large chance that even if there is something there, you won't find it, so you might have to search a while before you find something.
>Climb down a staircase to the next level. Not surprisingly, this can only be done if you are standing on staircase.
<Climb up a staircase to the level above. This can't be done without the Amulet of Yendor in your possession.
.Rest. This is the ``do nothing'' command. This is good for waiting and healing.
,Pick up something. This picks up whatever you are currently standing on, if you are standing on anything at all.
iInventory. List what you are carrying in your pack.
ISelective inventory. Tells you what a single item in your pack is.
qQuaff one of the potions you are carrying.
rRead one of the scrolls in your pack.
eEat food from your pack.
wWield a weapon. Take a weapon out of your pack and carry it for use in combat, replacing the one you are currently using (if any).
WWear armor. You can only wear one suit of armor at a time. This takes extra time.
TTake armor off. You can't remove armor that is cursed. This takes extra time.
PPut on a ring. You can wear only two rings at a time (one on each hand). If you aren't wearing any rings, this command will ask you which hand you want to wear it on, otherwise, it will place it on the unused hand. The program assumes that you wield your sword in your right hand.
RRemove a ring. If you are only wearing one ring, this command takes it off. If you are wearing two, it will ask you which one you wish to remove.
dDrop an object. Take something out of your pack and leave it lying on the floor. Only one object can occupy each space. You cannot drop a cursed object at all if you are wielding or wearing it.
cCall an object something. If you have a type of object in your pack which you wish to remember something about, you can use the call command to give a name to that type of object. This is usually used when you figure out what a potion, scroll, ring, or staff is after you pick it up but before it is truly identified. Each type of scroll and potion will become identified after its first use.
oExamine and set options. This command is further explained in the section on options.
^RRedraws the screen. Useful if spurious messages or transmission errors have messed up the display.
^PPrint last message. Useful when a message disappears before you can read it. Consecutive repetitions of this command will reveal the last five messages.
< ESC >Cancel a command, prefix, or count.
!Escape to a shell for some commands.
QQuit. Leave the game.
SSave the current game in a file. It will ask you whether you wish to use the default save file. Caveat: Rogue won't let you start up a copy of a saved game, and it removes the save file as soon as you start up a restored game. This is to prevent people from saving a game just before a dangerous position and then restarting it if they die. To restore a saved game, give the file name as an argument to rogue. As in :-

% rogue save-file

vPrints the program version number.
)Print the weapon you are currently wielding.
]Print the armor you are currently wearing.
=Print the rings you are currently wearing.