@genericname1 said in action id:
Can you tell me, where can I find all the available commands like this?
I suggest that you take the time to periodically review the XML code of your script to understand what BAS is doing when you are using it.
I'm looking to do action about 5% of the times and I've been using random number generator and then match 1 number of all numbers, and if it matches that number do the action but it feels like it matches it too many times to be correct.
Is there any way to use proper percentage in BAS?
@rekaa0251 said in Do action if percentage = correct:
I'm looking to do action about 5% of the times and I've been using random number generator and then match 1 number of all numbers, and if it matches that number do the action but it feels like it matches it too many times to be correct.
Is there any way to use proper percentage in BAS?
Set the action "Random Number" from 0 to 100

And write the condition [[RANDOM_NUMBER]] > 95. The chance of triggering the condition will be 5%.

test script