Jump to content
UBot Underground

Recommended Posts

Hi , Im new to Ubot and steadily programming away makeing a submission bot, Ive been splitting each submission down into a sub but the file is becoming large, is there a way I can develop a sub in a new file and when im happy simply import the sub into the master file ? I can cut and paste each command but this takes a lot of time. Id also like to make a template as most submissions are similar and then reuse the template for each submission type

 

Thanks

 

Mike

Link to post
Share on other sites

Hey Mike,

 

There's a number of ways to skin this cat, so to speak.

 

If you find that you'll be building a large multi-function bot in the end, create the bots per site and save them each as a seperate ubot file. Then create a master bot to pull the scripts and subs from the sub bots into itself.

 

Just be sure to use some sort of standardization for handling variables across bots and also use subroutines within the bots.

 

It's clean and works very well.

 

To give you some idea, I just completed probably 95% of a signup/posting bot for squidoo. It worked out to two primary scripts in the bot and around 20-30 subroutines within the scripts.

 

Frank

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...