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
rand only returns one line (username)
- martin@rootjazz
- Site Admin
- Posts: 34360
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: rand only returns one line (username)
in CUSTOM SEARCH, specify the ID / URL option to be able to read a file.
Then for search input, use the filepath of the file (file should be one username per line)
Then double click the selected step (once in the right side) and specify you only want 5 results for that step
Then for search input, use the filepath of the file (file should be one username per line)
Then double click the selected step (once in the right side) and specify you only want 5 results for that step
Re: rand only returns one line (username)
Neat, seems to work now, thanks!
- martin@rootjazz
- Site Admin
- Posts: 34360
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact: