@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
How to Use 5 Unique Lines from a .txt File in Every threads
-
How to Use Multithreading and Choose more then 1 Line from a .txt file in every threads, but the line must be different in every thread. Is there any way to do tat, I am not able to do that, Can Anyone Help me on that.
Suppose i have 1 .txt file, and 100 Lines in it. I am login in to an account and choose 3 lines from the .txt file, and i am using multiple thread, so i want to choose 3 unique different lines in every thread and delete them after use from the file in every thread.
Is it possible, if yes please help me in that. -
Создать ресурс
1)

2)

3)

-
Create variable

-
after it you need input your resource in variable like these and it take deference values
{{name your resource|notreuse}}

-
-
This post is deleted!
-
Hi, it's working on single thread. but how to use in multi thread.
i have a text file with 100 comment lines
and i have a login file with 10 accounts eg. email:pass
i want to login using email:pass and then want to use 10 line from the 100 comments in every thread.
please help me, how to use unique lines in every account from the 100 accounts. -
-
Create new resource

-
after pick these

-
input numbers , these numbers mean how many threads you can start

-
after you need setup in script like you see in my screenshot

in first field input resource which you create before "threads"
after in field 2 you need choose "repeat"

-
-
I have added this.

but the issue is - when i login to an account and then per thread i want to use 2 lines from the message in every single thread.
suppose i am Using 3 threads so bas picks 3 lines from the account list and login accounts.

Now I want to use 2 lines from another .txt file and use them in the logged in account, but the lines must be unique.

is there any way to do that?
