stanf 43 Posted January 15, 2016 Report Share Posted January 15, 2016 can someone explain the difference between the "run ubot code" and the "include command"? Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted January 15, 2016 Report Share Posted January 15, 2016 Include command will run .ubot file.Run ubot code will run ubot code script/code. I prefer using run ubot code since i am still using ubot4 for my compile bots. Quote Link to post Share on other sites
stanf 43 Posted January 15, 2016 Author Report Share Posted January 15, 2016 how do you execute the command?the "run ubot" code executes immediately, but when i run a small bot in the "include" it does nothing Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted January 15, 2016 Report Share Posted January 15, 2016 how do you execute the command?the "run ubot" code executes immediately, but when i run a small bot in the "include" it does nothing For example you have a define command on the .ubot you included.When you include that. that define it will be added in your bot. You need to call it to run it. Quote Link to post Share on other sites
Brutal 164 Posted January 15, 2016 Report Share Posted January 15, 2016 Stanf, you know how when you create a new define it gives you a drag/drop token in the 'custom commands' section? Well, when you use "include" it does the same thing, except it is directly under (but still attached to) the UI commands section. Quote Link to post Share on other sites
stanf 43 Posted January 15, 2016 Author Report Share Posted January 15, 2016 thanx 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.