mircocosrs1 0 Share Posted January 13, 2022 I want to take a break between dreambot api. For example when the code Inventory.get ("logs"). Intract ("Drop"); Done I want to run about 1 minute of "sleep" between right-clicking and selecting the drop option. (I feel that an accidental break between this can reduce the banning of accounts.) @Pandemic Link to comment Share on other sites More sharing options...
Pandemic 2712 Share Posted January 14, 2022 You can use the sleep method (in MethodProvider) to sleep for as long as you want Link to comment Share on other sites More sharing options...
mircocosrs1 0 Author Share Posted January 14, 2022 @Pandemic How can use the sample code above? i want to sleep between right-clicking and selecting the drop option in inventory Link to comment Share on other sites More sharing options...
Pandemic 2712 Share Posted January 15, 2022 13 hours ago, mircocosrs1 said: @Pandemic How can use the sample code above? i want to sleep between right-clicking and selecting the drop option in inventory You would have to do those actions separately, like Mouse.click(inventorySlot, true) -> sleep(1000) -> Menu.clickAction("Drop"). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.