seothtt 1 Posted May 18, 2012 Report Share Posted May 18, 2012 Is there a way in ubot standard to build smaller scripts then copy them into one large one? I'm trying to build a script, its quite long, and I'm having to trouble shoot at the very end, so its a pain to have to run through the full script to trouble shoot this small part. Richard Quote Link to post Share on other sites
JohnB 255 Posted May 18, 2012 Report Share Posted May 18, 2012 sure...place the code in define nodes and use them as custom commands. John Quote Link to post Share on other sites
seothtt 1 Posted May 18, 2012 Author Report Share Posted May 18, 2012 Ok, stupid question, where do I find define nodes? Quote Link to post Share on other sites
JohnB 255 Posted May 18, 2012 Report Share Posted May 18, 2012 Under flow commands John Quote Link to post Share on other sites
seothtt 1 Posted May 18, 2012 Author Report Share Posted May 18, 2012 Ah, so I can create a define node and just run that node to test it. So each part can be in their own node. Is that correct? Richard Quote Link to post Share on other sites
JohnB 255 Posted May 18, 2012 Report Share Posted May 18, 2012 Yes, they work like subroutines. And they are reusable so you don't ever need to create the code twice. You can reuse it in any tab you create within the bot. John Quote Link to post Share on other sites
seothtt 1 Posted May 18, 2012 Author Report Share Posted May 18, 2012 Sweet, thanks again for your help. 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.