Jump to content

Couple questions about Random override and custom randoms


Recommended Posts

Posted

I've done a bit of looking around but don't really see anything in the api, so not even sure its possible.

 

1. Can I create my own RandomEvent and add it to the RandomExecutor

2. Is there a way to toggle RandomEvents such as like this

  1. disable login event
  2. script logs out and waits 2 mins
  3. enable login event to make bot log back in

 

Thanks in advanced guys!

Posted
6 minutes ago, IDontEvenBot said:

From what I remember alek saying we are never going to be allowed control of the login event so we either have it enabled or disabled but if you want to disable it just use Explv's login handler.

Ah yes, that sounds like something Alek would say. Good reason though, i can understand. Was hoping to be able to do this without the need for a custom login handler, thank you!

Posted
10 minutes ago, Polymorphism said:

Ah yes, that sounds like something Alek would say. Good reason though, i can understand. Was hoping to be able to do this without the need for a custom login handler, thank you!

As for doing the 2nd question you asked I'm not exactly sure what you're thinking of doing but in alek's post 

 he shows that we can overwrite the break manager and control when it breaks so instead of disabling/enabling the login event you can set a boolean and control when the breaks occur if that suits your use case.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...