Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = peripheral.wrap("left")
- m = peripheral.find("monitor")
- x = 0
- while true do
- event, name, message = os.pullEvent("chat")
- if name == "TheEpicTekkit" then
- c.say("Shut up Keelan", 100000)
- elseif string.find(message, "do math") then
- c.say("yes", 100000)
- event, name, message = os.pullEvent("chat")
- local func = assert(load("return "..message))
- x = func()
- c.say("its "..x, 100000)
- end
- end
Add Comment
Please, Sign In to add comment