No need to install/download anything, the built-in times command does this very easily:
- Insert a new line at the beginning of your script, select
timesas itsCommandand10(for instance) as itsTarget. - Scroll down to the bottom of your script, and add a new line with
endas its command - Press the “Run” button as usual.
- Your commands are executed 10 times.
In this example I click on a button 2000 times:

To loop forever, just replace 10 with an extremely large number, that will take centuries to execute, which probably is as good as forever if you are running Selenium IDE.