If you have multiple browser threads then you can add a date column in database for each account. When some action is finished then you can add 30 minutes to the date now and add it to the database of that particular account. Then add a check condition in the beginning of the thread which checks if the current date is less or greater than the database date. If it is greater that means there is still time left and then close that thread without opening browser.
question regarding milliseoncds in sleep function.
-
first of all thanks so much for this awesome program. (it's my first battle with making bots)
i find the sleep being in miliseconds quite annoying and either i completely missed it or it's a bit hidden, but from what i can see there is no option to changehtat from milliseconds to seconds/minutes. are there a way to get around that somehow?
-
@darkdrake you can create custom module with own Sleep function, and then just pass needed length of time.
-
@oyasumi-punpun oh. i dident realize that, thank you so much :=)
-
how that happens? how can i develop my own module? my combobox has numbers from 1 to 24. these represent the hours. When my user chooses 10, the sleep value should be 10000000. I couldn't .... help me @DarkDrake @Oyasumi-Punpun