rand only returns one line (username)
Posted: Sun Sep 25, 2022 6:48 pm
Hi,
I have a list of usernames. I want the bot to randomly pick 5 of these and perform further actions for them.
I got it to the point where I can perform the actions for all the usernames in the file or, if I add the ",rand" to the file path, perform the action for one of the usernames in the file.
Is there a way I can achieve my above mentioned goal (randomly pick 5 usernames from the file and perform actions on them)?
Here's my config: https://imgur.com/a/FSeadt6
I have a list of usernames. I want the bot to randomly pick 5 of these and perform further actions for them.
I got it to the point where I can perform the actions for all the usernames in the file or, if I add the ",rand" to the file path, perform the action for one of the usernames in the file.
Is there a way I can achieve my above mentioned goal (randomly pick 5 usernames from the file and perform actions on them)?
Here's my config: https://imgur.com/a/FSeadt6