| 415 | VARP(maxhistory, 0, 1000, 10000); |
| 416 | |
| 417 | void history_(int *n) |
| 418 | { |
| 419 | static bool inhistory = false; |
| 420 | if(!inhistory && history.inrange(*n)) |
| 421 | { |
| 422 | inhistory = true; |
| 423 | history[history.length() - *n - 1]->run(); |
| 424 | inhistory = false; |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | COMMANDN(history, history_, "i"); |
| 429 |