Bobby 14 Posted September 8, 2011 Report Share Posted September 8, 2011 Hi guys! How can I load a script into another? Here is an image for easier understanding: http://s3.postimage.org/830jurx21/script.jpg What I need is to load for example the "Script 2" into "Script 1". Or if I would make 2 "*.ubot" files, how could I load "1.ubot" into "2.ubot". I think I was able to do this with uBot 3.5, but not with 4.0 Thank you! Quote Link to post Share on other sites
Praney Behl 314 Posted September 9, 2011 Report Share Posted September 9, 2011 Use the include command Quote Link to post Share on other sites
Bobby 14 Posted September 9, 2011 Author Report Share Posted September 9, 2011 Use the include commandIn uBot 3.5 that worked, but in version 4 there isn't a command like this... (I have uBot 4 Pro). Quote Link to post Share on other sites
Praney Behl 314 Posted September 9, 2011 Report Share Posted September 9, 2011 Damn! seems like it got taken out for some reason. I was actually gonna use it in a few mins. Quote Link to post Share on other sites
CreativeWurks 9 Posted September 12, 2011 Report Share Posted September 12, 2011 i need it right now as well. lol Quote Link to post Share on other sites
ubotguy 4 Posted September 27, 2011 Report Share Posted September 27, 2011 Define it like a subroutine or function in other programming languages but using the 'define' node. Quote Link to post Share on other sites
Legend 181 Posted September 30, 2011 Report Share Posted September 30, 2011 How can I load a script into another?Can't you just copy and paste from the code view? Quote Link to post Share on other sites
Bobby 14 Posted September 30, 2011 Author Report Share Posted September 30, 2011 Can't you just copy and paste from the code view? I could, but...- I would like to split bigger bots into smaller bots- and I would like to use some parts/bots in more bots. 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.