PDA

View Full Version : Kolmafia from a command line



arrggg
03-12-2007, 04:47 PM
I used to have it all set before a computer crash....how do you run KOLMafia from a command line and automatticly start a script?
I can't find it anywere...

I know it's:


java -jar -Duser.dir=~/kolmafia ~/kolmafia/KoLmafia.jar --CLI

but what's the switch to start a script?

efilnikufecin
03-13-2007, 02:10 AM
Direct from a batch file I use daily:

java -jar KoLmafia.jar --CLI script=kandel.txt

However I think it was said somewhere that in newer versions it should be:

java -jar KoLmafia.jar script=chardata\kandel.txt --CLI

arrggg
03-13-2007, 03:47 PM
Can someone add this to the wiki.kolmafia.us I looked all over to find this info.