PDA

View Full Version : help with resting in campground



Deraj
12-31-2008, 04:45 AM
Hello everyone, I'm new to KoL Mafia and I'm really excited about it.

I want to include a line in my ASH code that rests at my campground, but I can't seem to find the correct name for the location. The line I am referring to is:

adventure(1, $location[Rest at Campground]);

What is the correct name of this location? Thanks!

Bale
12-31-2008, 06:00 AM
I tried that also when I was creating my recovery script. The wiki (http://wiki.kolmafia.us/index.php?title=Main_Page) implies that should work, but it doesn't. The command you need to use is:

cli_execute("rest");

Deraj
01-01-2009, 12:04 AM
;D Thanks ;D

Deraj
09-30-2009, 04:31 AM
I downloaded latest build of KolMafia today and I'm now getting an error when I run: cli_execute("rest");

Did the command change? thanks!

kain
09-30-2009, 11:56 AM
Just wait for the next build ... it'll get restored/fixed

Deraj
10-04-2009, 06:25 PM
Nice! It was fixed, like you said, in the next build. thanks!