While I understand you're a "Lua super noob", this would work as well, in the same way.
x = "Kenny"
if x == "Brandon" then
print("Hi, " .. x)
else
print ("You are not Brandon, " .. x)
end
It does the same exact thing as your code, but basically it does "Is 'X' Brandon? No. I'll print the 'else' code".
Other than that, you're doing good. I remember doing something that was similar in my earlier Lua days.