Kurt 1 Posted June 17, 2010 Report Share Posted June 17, 2010 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. Quote Link to post Share on other sites
Praney Behl 314 Posted June 17, 2010 Report Share Posted June 17, 2010 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 1 Quote Link to post Share on other sites
alcr 135 Posted June 17, 2010 Report Share Posted June 17, 2010 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 ^this or UI windows. 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.