Toggle

From NetHackWiki
Jump to navigation Jump to search

#toggle is the extended command to toggle a boolean option on or off. The main use is to bind a key to do that with a single key instead of using the Options-menu. This is a more general version of the #autopickup command.

For example:

BIND=v:toggle(price_quotes)
BIND=@:toggle(autopickup)
This page is a stub. Should you wish to do so, you can contribute by expanding this page.