Jump to content

Couple questions about Random override and custom randoms


Polymorphism

Recommended Posts

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!

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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