chanceBang
chanceBang outputs a bang according to a specified percentage chance, making it useful for probabilistic triggering. Set the chance with its argument, such as chanceBang 50; fractional percentages are supported because floats are not converted to integers.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search foreasyflowand install it. Then create an object withdeclare -lib easyflow -path easyflow. Finally, usechanceBangor any other object fromeasyflow.