Hmmm I could have sworn I had added the ; at the end and tried it already. I didn't happen to see the need for a ; at the end of every line in the Advanced scripting guide.
Sally: Thank you very much for the info. this will be very helpful to play with. I've noticed when doing two of these...
Thanks! I was able to get the buy to work via the CLI however I am still having issues getting it to work in an ash script.
putting the command given in an .ash file and running it gives the following results:
Expected ;, found null (Collecting.ash, line 1)
I'm new to ash but have done a little CLI scripting. I decided the other day that I want to start collecting spooky shroomkabobs and am looking for something to buy some every day as long as they are below a certain price.
It appears that: int buy( int quantity, item it, int price_limit ) is...