also this is my first program I have posted on the forums so any advice/improvements would be much appreciated
Just place the chatbox anywhere touching the computer
Quote
pastebin get nsqR30yt startup
-- Change this code local yourname = "WolfyXK" local openmessage = "open" -- Make this lowercase local doorside = "right" local opentime = 4 -- while true do local chat = { os.pullEvent("chat_message") } if chat[3] == yourname and string.lower(chat[4]) == openmessage then print("Door Opening") rs.setOutput(doorside, true) sleep(opentime) term.clear() rs.setOutput(doorside, false) else end end
Edited by WolfyXK, 24 December 2015 - 03:57 AM.