Kaffeetrinken
New member
Hi! Yesterday I wrote my first ash script for autoselling my farmed stuff etc.
Right now I am trying to enhance said script by constructing a string that eventually will contain some sort of report on what the script did. I have run into two problems:
1. I am having trouble adding line breaks to the string, e.g:
will produce: "a b" in CLI
2. Is there a way of tracking things like the amount of meat gained from:
or the smash results of:
?
I know CLI displays the results but i haven't figured out how I can make use of that.
Please excuse if these answers could have been answered if I had been more patient with the forum search and thanks in advance for any help.
Bonus Questions:
1. Is there an ash equivalent of CLI's smash?
2. Is there any way of using the malus, CLI or ash?
Right now I am trying to enhance said script by constructing a string that eventually will contain some sort of report on what the script did. I have run into two problems:
1. I am having trouble adding line breaks to the string, e.g:
Code:
void main()
{
string test = "a \n b";
print(test);
}
2. Is there a way of tracking things like the amount of meat gained from:
Code:
use( 1, $item[Warm Subject gift certificate])
Code:
cli_execute("smash happiness")
I know CLI displays the results but i haven't figured out how I can make use of that.
Please excuse if these answers could have been answered if I had been more patient with the forum search and thanks in advance for any help.
Bonus Questions:
1. Is there an ash equivalent of CLI's smash?
2. Is there any way of using the malus, CLI or ash?