kenny 0 Posted March 27, 2010 Report Share Posted March 27, 2010 Hi all, I try to use "run script" command, and try to call another script via a variable, example : i have a script name : google, and from another script : set variable=google run script->this one->#variable but, it dont work, any idea how to make it work ? Thanks. Quote Link to post Share on other sites
alcr 135 Posted March 27, 2010 Report Share Posted March 27, 2010 Does it work without the variable? Quote Link to post Share on other sites
kenny 0 Posted March 28, 2010 Author Report Share Posted March 28, 2010 yes, it work fine without variable. Does it work without the variable? Quote Link to post Share on other sites
kenny 0 Posted March 28, 2010 Author Report Share Posted March 28, 2010 bump, anyone ? Quote Link to post Share on other sites
Aaron Nimocks 19 Posted March 28, 2010 Report Share Posted March 28, 2010 I never tried it but personally I would just take all that script code for Google and put it in the current script as a sub. Then just run the sub. Ive never used multiple scripts before so not really sure if you can do it with a variable. Easy way is just to keep everything on the same script. Quote Link to post Share on other sites
kenny 0 Posted March 28, 2010 Author Report Share Posted March 28, 2010 Hi Aaron, thanks for your answer, I hope it can be done on the next ubot update, its usefull if you have a lot of script and just call those script via a variable inside a loop, and easy to maintenance the script too. I never tried it but personally I would just take all that script code for Google and put it in the current script as a sub. Then just run the sub. Ive never used multiple scripts before so not really sure if you can do it with a variable. Easy way is just to keep everything on the same script. Quote Link to post Share on other sites
Enigma 78 Posted October 3, 2010 Report Share Posted October 3, 2010 This might be a great idea to remotely include .ubot files. This saves customers plenty of time by downloading a new .exe bot file, re-activate it (in case you have a software protection with it). Example: You have sold 100 bots.You get an email from a user that claims there is a bug on a site (website changed something, so the bot does not work 100% anymore).Now the only thing you need to do is fix it and save the new .ubot file to your site.All customers automatically get the right and latest working bot without downloading or re-activate anything.The bot automatically grabs the .ubot file from your server and does the job. Seth, what do you think about this? Quote Link to post Share on other sites
pftg4 102 Posted October 3, 2010 Report Share Posted October 3, 2010 hi enigma this can already be done for quite a while Pftg4 Quote Link to post Share on other sites
Enigma 78 Posted October 3, 2010 Report Share Posted October 3, 2010 hi enigma this can already be done for quite a while Pftg4 Really?Well i just checked it in uBot studio and when i use "run script" i can only select scripts that are already in the bot.Or did i missed something? Quote Link to post Share on other sites
IRobot 43 Posted October 3, 2010 Report Share Posted October 3, 2010 Or did i missed something?Use the Flow command > include... Quote Link to post Share on other sites
Enigma 78 Posted October 3, 2010 Report Share Posted October 3, 2010 Use the Flow command > include... Whenever i face any issues... there is IRobot.Will try this as soon as i'm on my development computer again.Thanks again 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.