Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[irrelevant code
- local function clear()
- term.clear()
- term.setCursorPos(1,1)
- end
- clear()
- --]]
- local chat = peripheral.wrap("right")
- while true do
- --message catching
- local _, player, message, uuid = os.pullEvent("chat_message")
- --message parsing
- local tempmsg = string.sub(message,2)
- tempvar = textutils.unserialize(tempmsg)
- --debug
- print(message)
- print(tempmsg)
- print(tempmsg)
- --atempted function call
- tempvar()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement