|
Post by andreos on Oct 7, 2019 15:52:23 GMT
I'm in a situation that I don't know exactly what tool would be best.
I have multiple accounts and I need to make the script to run for each of these accounts.
On the account selection screen, I could store each account location (for selection) in a table. Fine.
However, I'm not sure how to make my script loop for each of these accounts. Suggestions?
|
|
|
Post by AnkuLua on Oct 10, 2019 23:34:44 GMT
FYI
while (true) do accounts = {"George", "Mary", "Henry"} for i, a in ipairs(accounts) do print(a) wait(0.1) --just to make AnkuLua to detect user abort end end
|
|
|
Post by andreos on Oct 11, 2019 1:12:05 GMT
Ok. What if I do have to find values to insert them into that table? Worse: what if you need to scroll down to search for those values?
|
|
|
Post by AnkuLua on Oct 11, 2019 3:19:00 GMT
Ok. What if I do have to find values to insert them into that table? Worse: what if you need to scroll down to search for those values? If it's number, it's ok. Otherwise, we can't help now.
|
|
|
Post by andreos on Oct 11, 2019 14:33:30 GMT
Thanks, mate. I'll have to sit and think in a solution for this. Won't be easy.
|
|