[quote author=Leperconartist link=topic=1717.msg8113#msg8113 date=1210821639]As for the other question I have no clue to the answer of that, it might be and it might not be. For all I know it might be against KolMafia's policy to do something like that. What exactly do you mean a callback function? Like it would automatically call a script when your counter goes to 0?
[/quote]
Right. (replace script with ASH function, but same thing)
Hmm, I guess as long as you could see the counter, you could just do something like: get the current adv count, adv 10 somewhere, if after that line the adv count is not last adv count - 10, then check the cookie counter for a zero. If zero, then adv somewhere for a semi.
or easier, adv 10 somewhere, check cookie counter, and check how many advs since the last semi
So how do I set/read the cookie counter in ASH? and the last semi counter.
Also, how would I set it on the CLI. When I get a semi, and I eat a cookie to get the numbers 5 175 248, I kinda know which one is correct w/o eating a second cookie. Would be nice to narrow it down right there.