
So perhaps I'm just really stupid, but I don't fully understand how to use these scripts in the following format.
I'm running a Cyberpunk RED game, and I want to use these API's to do the following:
1. Make a 1d10 roll and get that rolls results,
2. If it is a 10, roll another 1d10, add it, and then add their skill bonus.
3. If it is a 1, roll another 1d10, subtract its results, and then add their skill bonus.
I don't know how to trigger the scripts. I tried testing a few examples with checking simple rolls in chat messages and nothing happened.
Also, I'd like to do one more thing. I'd like to make a macro that
1. rolls on a rollable table.
2. Then rolls 1d6 (secretly).
3. If that roll is 3 or more, then it rolls on 3 more rollable tables and displays them all in a chat table. Otherwise it just displays the result of the first rolled table.
Is this possible, and how would I do these things?