How to pick a random number between 1-50 and enter it as a parameter

Is it too bright only on photo?

The LEDs are on full brightness in the video but you can adjust the brightness down. I'm using a Lutron Pico remote and have programmed it to turn the LEDs on, off, adjust brightness and randomly choose a different effect. There are about 71 effects.

Sorry to bring up an old thread. I am utilizing the information from this thread to make a BC rule that involves random number selection. My current issue is that I need to the button to select a random number from 1-10, then 101-241 for a Govee scene selection on a strip light. Is this possible?