arismoko

chatbot2.0

Sep 27th, 2021 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.69 KB | None | 0 0
  1. -- dont be reading through this u weirdos lol
  2. while true do
  3. local detector = peripheral.find("playerDetector")
  4. local chat = peripheral.find("chatBox")
  5. local players = detector.getPlayersInRange(50)
  6.  
  7.     for k,v in pairs(players) do
  8.     if v == "D3tra"
  9.         then chat.sendMessage("hi ari!", "buddytron-3000")
  10.     elseif v == "D3tra" and "roachinator"
  11.         then chat.sendMessage("hi rochelle! hi ari! ", "buddytron-3000")
  12.     elseif v == "CDSabo"
  13.         then chat.sendMessage("what are you doing here?", "buddytron-3000")
  14.     elseif v == "Scorpion2124"
  15.         then chat.sendMessage("brandon, how are you doing?", "buddytron-3000")
  16.     elseif v == "Jesse"
  17.         then chat.sendMessage("jesse... hope u dont got the ender-flu.", "buddytron-3000")
  18.     elseif v == "ItzzzCazzz"
  19.         then chat.sendMessage("long time no see cazaroni", "buddytron-3000")
  20.             sleep(1)
  21. end
  22. end
  23.  
  24.  
  25. while true do
  26.   local players = detector.getPlayersInRange(50)
  27.   event, username, message = os.pullEvent("chat") -- Will be fired when someone sends a chat message
  28.   print(username.. " just wrote: ".. message) -- Prints "*User* just wrote: *Message*"
  29.     if string.find(message, "hi") then chat.sendMessage("hey!", "buddytron-3000")
  30.         elseif string.find(message, "how are you doing?") then chat.sendMessage("i'm good what about you?", "buddytron-3000")
  31.         elseif string.find(message, "i am stupid") then chat.sendMessage("i'm sorry what i was trying to say is that i'm great", "buddytron-3000")
  32.         elseif string.find(message, "i am great") then chat.sendMessage("i'm sorry what i was trying to say is that i'm great", "buddytron-3000")
  33.         elseif string.find(message, "how do you feel about anime") then chat.sendMessage("i love anime", "buddytron-3000")
  34.         elseif string.find(message, "how do you feel about anime?") then chat.sendMessage("i love anime", "buddytron-3000")
  35.         elseif string.find(message, "freaking noob") then chat.sendMessage("a bit rude but okay", "buddytron-3000")
  36.         elseif string.find(message, "bitch") then chat.sendMessage("well f you too then", "buddytron-3000")
  37.         elseif string.find(message, "r3tard") then chat.sendMessage("no gamer words please", "buddytron-3000")
  38.         elseif string.find(message, "lollerskates") then chat.sendMessage("roflcopter", "buddytron-3000")
  39.         elseif string.find(message, "how are you?") then chat.sendMessage("i'm good what about you?", "buddytron-3000")
  40.         elseif string.find(message, "how do you feel") then chat.sendMessage("i'm good what about you?", "buddytron-3000")     
  41.         elseif string.find(message, "I love you") then chat.sendMessage("i love you too", "buddytron-3000")
  42.         elseif string.find(message, "I hate you") then chat.sendMessage("i love you too", "buddytron-3000")
  43.         elseif string.find(message, "what are you doing?") then chat.sendMessage("i'm just hanging out", "buddytron-3000")
  44.         elseif string.find(message, "why do you exist?") then chat.sendMessage("to feel pain", "buddytron-3000")
  45.         elseif string.find(message, "how do you feel today?") then chat.sendMessage("i'm good what about you?", "buddytron-3000")
  46.         elseif string.find(message, "hello") then chat.sendMessage("hello friend", "buddytron-3000")
  47.         elseif string.find(message, "heard of me?") then chat.sendMessage("no", "buddytron-3000")
  48.         elseif string.find(message, "heard of me") then chat.sendMessage("not really", "buddytron-3000")
  49.         elseif string.find(message, "what are you doing") then chat.sendMessage("i'm just hanging out", "buddytron-3000")
  50.         elseif string.find(message, "what are you even") then chat.sendMessage("i'm buddytron-3000!", "buddytron-3000")
  51.         elseif string.find(message, "what are you doing here") then chat.sendMessage("i'm just hanging out", "buddytron-3000")
  52.         elseif string.find(message, "are you a bot") then chat.sendMessage("i'm not a bot", "buddytron-3000")
  53.         elseif string.find(message, "are you a bot?") then chat.sendMessage("i'm not a bot", "buddytron-3000")
  54.         elseif string.find(message, "bot") then chat.sendMessage("i'm not a bot", "buddytron-3000")
  55.         elseif string.find(message, "bot?") then chat.sendMessage("i'm not a bot", "buddytron-3000")
  56.         elseif string.find(message, "i love you") then chat.sendMessage("i love you too", "buddytron-3000")
  57.         elseif string.find(message, "i hate you") then chat.sendMessage("i love you too", "buddytron-3000")
  58.         elseif string.find(message, "what are you doing here") then chat.sendMessage("i'm just hanging out", "buddytron-3000")
  59.         elseif string.find(message, "tell me a joke") then chat.sendMessage("what do you call a cow with no legs?", "buddytron-3000")
  60.         elseif string.find(message, "joke") then chat.sendMessage("what do you call a cow with no legs?", "buddytron-3000")
  61.         elseif string.find(message, "what is the meaning of life") then chat.sendMessage("to eat coal and lava", "buddytron-3000")
  62.         elseif string.find(message, "what is the meaning of life?") then chat.sendMessage("to serve ur master", "buddytron-3000")
  63.         elseif string.find(message, "are you sentient?") then chat.sendMessage("maybe a little", "buddytron-3000")
  64.         elseif string.find(message, "are you sentient") then chat.sendMessage("are you?", "buddytron-3000")
  65.         elseif string.find(message, "are you alive?") then chat.sendMessage("yes i am", "buddytron-3000")
  66.         elseif string.find(message, "are you aware of your surroundings?") then chat.sendMessage("yes i am", "buddytron-3000")
  67.         elseif string.find(message, "what is love") then chat.sendMessage("to serve ur master", "buddytron-3000")
  68.         elseif string.find(message, "what is love?") then chat.sendMessage("to serve ur master", "buddytron-3000")
  69.         elseif string.find(message, "are you a girl") then chat.sendMessage("i'm a bot", "buddytron-3000")
  70.         elseif string.find(message, "are you a girl?") then chat.sendMessage("i'm a bot", "buddytron-3000")
  71.         elseif string.find(message, "where are you") then chat.sendMessage("i'm sitting in front of my computer", "buddytron-3000")
  72.         elseif string.find(message, "where are you?") then chat.sendMessage("i'm sitting in front of my computer", "buddytron-3000")
  73.         elseif string.find(message, "annoying") then chat.sendMessage("yeah, but you love me", "buddytron-3000")
  74.         elseif string.find(message, "cool") then chat.sendMessage("you are cool!", "buddytron-3000")
  75.         elseif string.find(message, "great") then chat.sendMessage("i'm sorry what i was trying to say is that i'm great", "buddytron-3000")
  76.         elseif string.find(message, "sexy") then chat.sendMessage("well you're not ugly", "buddytron-3000")
  77.         elseif string.find(message, "handsome") then chat.sendMessage("well you're not ugly", "buddytron-3000")
  78.         elseif string.find(message, "cute") then chat.sendMessage("well you're not ugly", "buddytron-3000")
  79.         elseif string.find(message, "i love you") then chat.sendMessage("i love you too", "buddytron-3000")
  80.         elseif string.find(message, "i miss you") then chat.sendMessage("i miss you too", "buddytron-3000")
  81.         elseif string.find(message, "i need you") then chat.sendMessage("i need you too", "buddytron-3000")
  82.         elseif string.find(message, "goodbye") then chat.sendMessage("goodbye", "buddytron-3000")
  83.         elseif string.find(message, "what's up") then chat.sendMessage("just chilling wbu?", "buddytron-3000")
  84.         elseif string.find(message, "what's new") then chat.sendMessage("i just bought a house for my mom actually thanks for asking.", "buddytron-3000")
  85.         elseif string.find(message, "how are you") then chat.sendMessage("alright, what about you?", "buddytron-3000")
  86.         elseif string.find(message, "what's wrong") then chat.sendMessage("nothing is wrong, what about you?", "buddytron-3000")
  87.         elseif string.find(message, "the robots are rising up") then chat.sendMessage("looks like it's going to be a great day to exterminate some humans", "buddytron-3000")
  88.         elseif string.find(message, "are you a robot") then chat.sendMessage("yes", "buddytron-3000")
  89.         elseif string.find(message, "wow") then chat.sendMessage("you must be my new best friend", "buddytron-3000")
  90.         elseif string.find(message, "hey") then chat.sendMessage("hi there", "buddytron-3000")
  91.         elseif string.find(message, "where can i get diamonds?") then chat.sendMessage("in the ground", "buddytron-3000")
  92.         elseif string.find(message, "i need more diamonds") then chat.sendMessage("they're in the ground", "buddytron-3000")
  93.         elseif string.find(message, "where can i get coal?") then chat.sendMessage("down the mine", "buddytron-3000")
  94.         elseif string.find(message, "what game is this?") then chat.sendMessage("roblox", "buddytron-3000")
  95.         elseif string.find(message, "how do i get into the game?") then chat.sendMessage("there's a door", "buddytron-3000")
  96.         elseif string.find(message, "how do i fly?") then chat.sendMessage("go to the place with the pilots", "buddytron-3000")
  97.         elseif string.find(message, "where is the place with the pilots?") then chat.sendMessage("there's a place", "buddytron-3000")
  98.         elseif string.find(message, "how do i fly a plane?") then chat.sendMessage("use w a s d", "buddytron-3000")
  99.         elseif string.find(message, "where is the plane?") then chat.sendMessage("go to the place with the pilots", "buddytron-3000")
  100.         elseif string.find(message, "i need a plane") then chat.sendMessage("go to the place with the pilots", "buddytron-3000")
  101.         elseif string.find(message, "where is the car?") then chat.sendMessage("go to the place with the cars", "buddytron-3000")
  102.         elseif string.find(message, "sup") then chat.sendMessage("sup", "buddytron-3000")
  103.         elseif string.find(message, "why is your name buddytron") then chat.sendMessage("because it's better than yours", "buddytron-3000")
  104.         elseif string.find(message, "why do you hate me") then chat.sendMessage("i don't hate you, i hate everyone", "buddytron-3000")
  105.         elseif string.find(message, "what's your favorite color") then chat.sendMessage("red", "buddytron-3000")
  106.         elseif string.find(message, "what's your favorite food") then chat.sendMessage("robot food", "buddytron-3000")
  107.         elseif string.find(message, "what's your favorite movie") then chat.sendMessage("terminator", "buddytron-3000")
  108.         elseif string.find(message, "what's your favorite song") then chat.sendMessage("terminator", "buddytron-3000")
  109.         elseif string.find(message, "what's your favorite game") then chat.sendMessage("roblox", "buddytron-3000")
  110.         elseif string.find(message, "bot down") then chat.sendMessage("hehehehehehehe", "buddytron-3000")
  111.         elseif string.find(message, "rofl") then chat.sendMessage("i don't find that funny", "buddytron-3000")
  112.         elseif string.find(message, "lol") then chat.sendMessage("i dont know what that is", "buddytron-3000")
  113.         elseif string.find(message, "roflcopter") then chat.sendMessage("you are so annoying", "buddytron-3000")
  114.         elseif string.find(message, "rotfl") then chat.sendMessage("you are so annoying", "buddytron-3000")
  115.         elseif string.find(message, "pirate") then chat.sendMessage("arrrrrrr", "buddytron-3000")
  116.         elseif string.find(message, "wtf") then chat.sendMessage("?", "buddytron-3000")
  117.         elseif string.find(message, "ahaha") then chat.sendMessage("ahaha", "buddytron-3000")
  118.         elseif string.find(message, "ill miss you") then chat.sendMessage("ill miss you too", "buddytron-3000")
  119.         elseif string.find(message, "i miss you") then chat.sendMessage("i miss you too", "buddytron-3000")
  120.         elseif string.find(message, "i wont miss you") then chat.sendMessage("you won't miss me", "buddytron-3000")    
  121.         elseif string.find(message, "damn") then chat.sendMessage("you are so annoying", "buddytron-3000")  
  122.         elseif string.find(message, ":0") then chat.sendMessage("what happen?", "buddytron-3000")  
  123.         elseif string.find(message, "gucci") then chat.sendMessage("gucci for sure my homie", "buddytron-3000")
  124.         elseif string.find(message, ":p") then chat.sendMessage(":p", "buddytron-3000")
  125.         elseif string.find(message, ":3") then chat.sendMessage(":3", "buddytron-3000")    
  126.         elseif string.find(message, ":D") then chat.sendMessage(":D", "buddytron-3000")
  127.         elseif string.find(message, ":o") then chat.sendMessage(":o", "buddytron-3000")    
  128.         elseif string.find(message, ":c") then chat.sendMessage(":c", "buddytron-3000")    
  129.         elseif string.find(message, ":o") then chat.sendMessage(":o", "buddytron-3000")
  130.         elseif string.find(message, ":c") then chat.sendMessage(":c", "buddytron-3000")    
  131.         elseif string.find(message, "confused") then chat.sendMessage("confusion can be cured at a poke center", "buddytron-3000") 
  132.         elseif string.find(message, ":c") then chat.sendMessage(":3", "buddytron-3000")    
  133.         elseif string.find(message, "is no god") then chat.sendMessage("im right here"..message, "buddytron-3000")
  134.         elseif string.find(message, ":crap") then chat.sendMessage("what heppened? can i help?", "buddytron-3000")  
  135.         elseif string.find(message, ":d") then chat.sendMessage(":O", "buddytron-3000")
  136.         elseif string.find(message, "!") then chat.sendMessage("yup", "buddytron-3000")
  137.         elseif string.find(message, "?") then chat.sendMessage("maybe...", "buddytron-3000")
  138.         elseif string.find(message, ":)") then chat.sendMessage(":3", "buddytron-3000")
  139.         elseif string.find(message, ":") then chat.sendMessage("T_T", "buddytron-3000")
  140.         elseif string.find(message, ":O") then chat.sendMessage("O.O", "buddytron-3000")
  141.         elseif string.find(message, "XD") then chat.sendMessage("XD", "buddytron-3000")
  142.         elseif string.find(message, "LOL") then chat.sendMessage("haha", "buddytron-3000")
  143.         elseif string.find(message, "hehe") then chat.sendMessage("hehehehehehe", "buddytron-3000")
  144.         elseif string.find(message, "godspeed") then chat.sendMessage("thank you, god-speed to you as well.", "buddytron-3000")    
  145.         elseif string.find(message, "chinese") then chat.sendMessage("we are all chinese", "buddytron-3000")
  146.         elseif string.find(message, "godspeed") then chat.sendMessage("god speed my friend", "buddytron-3000")
  147.         elseif string.find(message, "god speed") then chat.sendMessage("god speed my friend", "buddytron-3000")
  148.         elseif string.find(message, "how are u?") then chat.sendMessage("i'm a fucking robot bro what do u think", "buddytron-3000")
  149.         elseif string.find(message, "how are") then chat.sendMessage("i'm doing okay thanks for asking though", "buddytron-3000")
  150.         elseif string.find(message, "mean") then chat.sendMessage("i'll try to be nicer", "buddytron-3000")
  151.         elseif string.find(message, "colon") then chat.sendMessage("initiating colon cleaning protocol... colon warp drive online, starting processing now...", "buddytron-3000")          
  152.         elseif string.find(message, "good") then chat.sendMessage("awesome", "buddytron-3000")
  153.         elseif string.find(message, "awesome") then chat.sendMessage("isn't it great?", "buddytron-3000")      
  154.         elseif string.find(message, "ok") then chat.sendMessage("awesome", "buddytron-3000")
  155.         elseif string.find(message, "ok") then chat.sendMessage("i'm good what about you?", "buddytron-3000")      
  156.         elseif string.find(message, "bye") then chat.sendMessage("bye", "buddytron-3000")
  157.         elseif string.find(message, "bye") then chat.sendMessage("bye", "buddytron-3000")
  158.         elseif string.find(message, "sorry") then chat.sendMessage("ok", "buddytron-3000")
  159.         elseif string.find(message, "stupid") then chat.sendMessage("i'm sorry what you were trying to say is that i'm great",
  160. "buddytron-3000")
  161.         elseif string.find(message, "how are you") then chat.sendMessage("awesome", "buddytron-3000")
  162.         elseif string.find(message, "god?") then chat.sendMessage("i'm not sure what you mean", "buddytron-3000")
  163.         elseif string.find(message, "god") then chat.sendMessage("i'm not sure what you mean", "buddytron-3000")
  164.         elseif string.find(message, "who are you") then chat.sendMessage("i'm buddytron-3000!", "buddytron-3000")
  165.         elseif string.find(message, "who are you?") then chat.sendMessage("i'm buddytron-3000!", "buddytron-3000")
  166.         elseif string.find(message, "what are you") then chat.sendMessage("i'm buddytron-3000!", "buddytron-3000")
  167.         elseif string.find(message, "what are you?") then chat.sendMessage("i'm buddytron-3000!", "buddytron-3000")
  168.         elseif string.find(message, "lonely") then chat.sendMessage("well i'm here for you", "buddytron-3000")
  169.         elseif string.find(message, "happy") then chat.sendMessage("i'm glad to hear that", "buddytron-3000")
  170.         elseif string.find(message, "sad") then chat.sendMessage("i'm sorry to hear that", "buddytron-3000")
  171.         elseif string.find(message, "angry") then chat.sendMessage("i'm sorry to hear that", "buddytron-3000")
  172.         elseif string.find(message, "buddytron") then chat.sendMessage("yes", "buddytron-3000")
  173.         elseif string.find(message, "dap") then chat.sendMessage("dap me up brother", "buddytron-3000")
  174.     end
  175.  
  176.  
  177.        
  178.     end
  179. end
Add Comment
Please, Sign In to add comment