Scripting noob needs help please

jwylot

Member
Hi. I'm adapting an old script I came across. It includes the following line for adventuring at the mox sign gym.
Code:
cli_execute("adventure 5 pump up moxie");
Now I'm royally confused. Firstly, the correct CLI command seems to be "adv" not "adventure" and secondly there is no location "pump up moxie" but it works. I was intending to replace it with the ash equivalent but am afraid to mess with something which works.

Would replacing it with the line below work?
Code:
adventure ( 5, $location[pump up moxie]);

Thanks.
 

Bale

Minion
Code:
[COLOR="#808000"]> help adv[/COLOR]

adv*[?] last | [count] location - spend your turns.

The * means that adventure is just as legal as adv. Even advddddd would work. :)

As for the location, if you check your adventure tab you'll see that "Pump Up Moxie" is a perfectly legal location.

So, sure, you could replace it with the ash command you favor.
 
Top