klm 0 Posted October 10, 2011 Report Share Posted October 10, 2011 Ok, can anyone give me a hand with calling this bot from inside a main bot (using UBot 3.5)? The bot being called (the second bot) is searching and replacing a number of words in an article (which has already been opened within the main bot), and then the amended article needs to be sent from the second "word replacer" bot back to the main bot once it's done. I've been looking for how to do this properly and can't seem to get it to work right! I can make it work fine within a sub in the same bot, it's just when it comes to seperating it out into a seperate bot that I'm getting stuck. ... Here's an example of a simple main bot and replace bot I've had working fine... Main bot:http://screencast.com/t/HjaYuCgcLk2 Replacer bot:http://screencast.com/t/d4eBFMiEvg Now, I've tried to do the same process to create a little more complex 'replacer' bot and it doesn't seem to work...here's the screenshot/ubot file of the bots I am working with for these... Main bot:http://screencast.com/t/XwIr6mVid3 'Replace bot.ubot' attached to see below. ==========================The article.txt file used for this pair of bots contains the following text: "It {should|ought to|needs to} be {free|totally free|free of charge} for those who {need|require|want} it. That would be {excellent|outstanding|superb}!" The 'content-find.txt' file contains the following list: {free|totally free|free of charge}{need|require|want}{excellent|outstanding|superb}{should|ought to|needs to} The 'content-replace.txt' file contains the following list: {free|totally free}need{excellent|outstanding}should========================== I'm probably making a stupid mistake by omitting something simple, but can't work it out at the moment! If anyone could help it would be greatly appreciated! Thanks Kierenreplace bot.ubot Quote Link to post Share on other sites
klm 0 Posted October 10, 2011 Author Report Share Posted October 10, 2011 [Edit: I've condensed all of the info into the above post.] 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.