Bug - Not A Bug minor problem with scripts menu

morgad

Member
Not only does the scripts menu show my .ash files, it also show my .ash.old and .ash.ref files as well - screenshot enclosed
screen-mafia.png

best regards
Dave
 

slyz

Developer
I guess only files that end with .ash should be shown?

EDIT: this could be changed to "Feature Request" though.
 

Grotfang

Developer
I disagree. txt files should be shown for certain, and on linux systems I'm not convinced they even need a file extension (why would they?)
 

Veracity

Developer
Staff member
And the answer is the same as before: a script loadable by KoLmafia does not have to be named "something.ash". True, an ASH script has to be named like that, but KoLmafia is perfectly happy to run CLI scripts, too, and those need no special names.

As Grotfang said.

This is not a bug.
 

Camber

Member
And the answer is the same as before: a script loadable by KoLmafia does not have to be named "something.ash". True, an ASH script has to be named like that, but KoLmafia is perfectly happy to run CLI scripts, too, and those need no special names.

This is not a bug.

Agreed. However, to help the OP, there are a few filenames that do NOT show up
in the scripts menu.

If you prefix the name of your script with a "." (in other words, ".daily.ash.old"
instead of "daily.ash.old"), it will be ignored in the scripts dropdown. Also, if you
add either a ~ or a .bak to the end of a script's filename, it'll be considered a
backup file and therefore not be included in the menu list.
 
Top