#toggle extended command BIND=':toggle(price_quotes) BIND=@:toggle(autopickup) */
| 1373 | BIND=':toggle(price_quotes) |
| 1374 | BIND=@:toggle(autopickup) */ |
| 1375 | int |
| 1376 | dotoggleoption(void) |
| 1377 | { |
| 1378 | if (gc.cmd_bind && gc.cmd_bind->param) { |
| 1379 | return toggle_bool_option(gc.cmd_bind->param); |
| 1380 | } else { |
| 1381 | pline("Use #optionsfull to set any option instead."); |
| 1382 | return ECMD_OK; |
| 1383 | } |
| 1384 | } |
| 1385 | |
| 1386 | void |
| 1387 | set_move_cmd(int dir, int run) |
nothing calls this directly
no test coverage detected