Earlier I posted a thread about the same thing and got help, but it was going a little off-topic and if I would continue on that thread it would be like: "Okay done with code." "Could you add..." etc.
Basically what I need is a code that I easily can copy-paste to repeat the same thing over and over. It's a bot script, so I want to be able to do so I can add different types of things it should react on...
Explanation: I will have X amounts of files (2 mostly). One file should be the file that the code should react on that includes 1 or more words separated with enter. If one of the words in the file is "Hello" and I tell the code to react on "Hello" it should answer randomly from another file. So in the "answering file" it could be, separated with enter, these words: "Hey", "Hi", "Hello", "How are you" etc etc. But it should not be case sensitive or what's it's called, so it could be like "hEllo" or even in a sentence: "I would like to say hello to you" or "Hello how are you?" Also, I would want the code to be made so I can that it should react on 2 or more files. Like this: "if (file [bunch of code /me noob] = "hello"
||/
&& if (another file [code...] = "you" then [more code]. It should be this when it replies too please
(So like if ([code.] = "hello") then [reply with [...]
||/
&& I hope you understand.
As I said earlier I should be able to just copy-paste this code so I can jsut edit the files and have the same "function" over and over. I'm sorry if this is a "do it for me" code but I am a noob when it comes to scripting and the fun part for me is just to edit code...
Thanks a ton!