Bug - Not A Bug Me Being Annoying About Disable()

Grotfang

Developer
ASH's disable() function...

Code:
>ash disable( "all" );

Returned: void

> ash enable( "all" )

Called disabled command: ash enable( "all" )

Would it be possible to either make it so "all" would only disable functions called all(), or make it so that enable() is excluded from disable( "all" )?

I know this is a weird request, but since disable( "all" ) scuppers everything in KoLmafia, requiring a restart, I figured it may - VERY rarely - be useful to protect from this.

As for why I even spotted this... well, I wanted this wiki page to be accurate :rolleyes:
 

jasonharper

Developer
"enable" and "disable" are already exempt from being disabled. Your example shows the "ash" command being disabled, not the function being invoked by it. You would need to do the "enable all" as a CLI command to get out of this state.
 
Top