You can use "Result" variables that are predefined in BAS. There are 9 of them.
If you need more you can use filesystem actions and create TXT or CSV files
to store any number you need. Similar to that you can use database for such
tasks too.
Easy.. if u have resource like first name, last, city etc then.. in yout login field just tell BAS to write:
<firstname><lastname><AnyDigit><AnyDigit><AnyDigit><AnyDigit>
<firstname><lastname>199<AnyDigit> etc.. or
{{firstname}}{.| }{{{lastname}}|{{year}}}
There is an option to not end the thread even though the content in the resource is gone, and there is another way to have infinite resources, you can copy and paste the same content over several lines until you find the maximum number you want to run the script. Then the script can terminate by the "success" number set at the top or when the amount of rows entered in your Resource ends.