Posted 15 March 2016 - 10:24 PM
I'm trying to test for multiple different numbers in the same line, but I can't quite figure it out…
Code:
It throws an error if I use this (then expected). How would I do the correct if statement?
Code:
rednet.open("top")
local id, message = rednet.receive("test")
if message == "1", "2", "3", or "4" then
-- code
It throws an error if I use this (then expected). How would I do the correct if statement?