Adding items to mall store defaults to adding all

This script takes advantage of the fact that if you enter 0 into the quantity field when adding items to your store, then all of that item gets added. It simply makes the default value in that field 0 instead of 1.

This may take some getting used to if anyone uses it because when you see 0, you expect 0 to be added, but I enjoy it still.

*removed "print("test");" a debug string
 

Attachments

  • ManageStore.ash
    336 bytes · Views: 112
I just re-tested it on version 13.2 of Kolmafia, and It does not generate an error for me. Did you place it in the relay subfolder of your Kolmafia folder, and visit managestore.php in your relay browser, or did you try to run the script manually?

Sorry I didn't reply sooner, Just been taking time away from things.
 

Wadka

New member
Ah, no I was not doing any of those things. I had it in my scripts folder and was calling it in my login script.
 
Top