Step 1: Click on 'add command' to add a command to your list.
Step 2: Enter a chance for this command to be selected. (e.g. one with a chance of 1 and one with a chance of 4 --> Chance for the first one to be selected = 20%)
Step 3: Click on 'generate' and copy the text.
Step 4: Paste it in to the text-box 'Paste the output here:' and select 'finish'.
Step 5: Copy and paste the commands into your function. If you now execute it, a random command will be selected.