Jump to content
UBot Underground

UI with multiple scripts


Recommended Posts

How do you guys handle the UIs when a bot has multiple scripts from an end user persective?

 

If the same UI is used for multiple scripts in the same bot, ubotstudio gives an error that you can't use the same name for the sub (that calls the UI).

 

But the worst part is, if you do rename the UI/sub and the end user selects a differnt script they lose all the info they input when running the first script.

Link to post
Share on other sites

Hi Kurt,

 

With my experience, I use all the UIs in the main script and and refer/point to the same UI variable through other scripts in the bot. But remember to clear any values in the variable if you don't want to reuse the same value from previous script. Use the $nothing variable for it.

 

Cheers, hope that will help ya..!

 

Praney :D

  • Like 1
Link to post
Share on other sites

Hi Kurt,

 

With my experience, I use all the UIs in the main script and and refer/point to the same UI variable through other scripts in the bot. But remember to clear any values in the variable if you don't want to reuse the same value from previous script. Use the $nothing variable for it.

 

Cheers, hope that will help ya..!

 

Praney :D

^this or UI windows. :)

  • Like 1
Link to post
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.

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.

Loading...
×
×
  • Create New...