ToNic 0 Posted May 25, 2012 Report Share Posted May 25, 2012 I have had Ubotstudio for about a month and just upgraded to pro. I have scoured the forums and watched the video but have not found how to do a simple task. I have a file that needs to edited each time a user uses my bot but cannot figure out how to add that functionality to. I am sure it is something simple, I just need a little guidance. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 25, 2012 Report Share Posted May 25, 2012 is it a section of the file that needs to be edited? much like a configuration file? or just adding to it? adding to it you can add list to list, list from file, then add item to list to add something to the end. Else if its something in specific you need to editset variable, read file set variable, replace with regexand save the new file from variable Quote Link to post Share on other sites
ToNic Innovation 0 Posted May 25, 2012 Report Share Posted May 25, 2012 It is just text that will have the bot replace or add some of the information on it. is it a section of the file that needs to be edited? much like a configuration file? or just adding to it? adding to it you can add list to list, list from file, then add item to list to add something to the end. Else if its something in specific you need to editset variable, read file set variable, replace with regexand save the new file from variable Quote Link to post Share on other sites
ToNic Innovation 0 Posted May 25, 2012 Report Share Posted May 25, 2012 I just realized I was using 2 different forum accounts...sorry about the confusion. I am not understanding your instructions. I just want to add a text file so that the bot can take it and edit certain portions of it. I think I know how to get it to edit. What I am confused on is how to tell ubot to add or use the text file. Sorry if I am not explaining correctly. 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.