Jump to content
UBot Underground

Load And Run External Ubot Script From Text File?!


Recommended Posts

Hey :-)

 

Hopefully someone is able to help me:

 

 

is it possible that a compiled ubot EXE loads an external txt file that contains another "ubot script" and runs that?!

 

So that i could make smaller changes to a simple script without "recompile" the whole BOT again and again?

 

 

Example

 

I make a bot that i compile to "test.exe"

 

at the end of the Test.exe script it would loads an external script from "end.txt" which contains a simple "alert script" to show a message at the end

 

alert("Close the Bot now")

 

 

- so when i later want to add another "alert command" i could simply edit the external "end.txt" file which would be automatically loaded into the compiled bot and i dont have to compile the whole  "Test.exe" again

 

alert("Close the Bot now")

alert("Have a nice Day!")

 

 

i hope you understand what i want to say :D:D

Link to post
Share on other sites

you need a plugin for that.

I think there is free plugin which has   "Run Ubot Script" command

 

Thanks for the hint! :-)

 

Sadly i cannot find the plugin - only found an old thread where all links are dead  :(

http://network.ubotstudio.com/forum/index.php/topic/14197-howtorun-external-scripts/page-3

Link to post
Share on other sites

Back in the days of version 3 there was a command that did what you have described.  But in version 5 (where we are right now) it is called the "Include" command.

 

If you want to know more about this command go to the Wiki at this address:

 

http://wiki.ubotstudio.com/wiki/Include

 

I hope that helps.

 

Buddy

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...