Also, in the interest of server hits, the batch_open() and batch_close() commands are useful.
batch_open();
all the stuff I want to sell, stash, etc...
batch_close();
This way instead of individual server hits per item, KoLmafia will send them in groups of 11 where applicable.