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 the perfect commant however I'm not quite sure how to use it in the CLI or if it must be in an ASH script.
my understanding of the usage: buy ( 1 , "spooky shroomkabob", 101 )
the CLI treats this like the "buy 1 spooky shroomkabob " and complains if there is a max meat price.
Can somone point me in the right direction either on this functions usage or an ash script that already contains this function so I can figure it out?
Thanks!
P
It appears that: int buy( int quantity, item it, int price_limit ) is the perfect commant however I'm not quite sure how to use it in the CLI or if it must be in an ASH script.
my understanding of the usage: buy ( 1 , "spooky shroomkabob", 101 )
the CLI treats this like the "buy 1 spooky shroomkabob " and complains if there is a max meat price.
Can somone point me in the right direction either on this functions usage or an ash script that already contains this function so I can figure it out?
Thanks!
P