function theissue(l)
--yea basically this wont detect if the string is upper case or lower case i have no idea what im doing wrong here
local typ = ""
if string.upper(l) then
typ = "upper"
else
typ = "lower"
end
print(typ)
end
Basically it wont detect if the string is upper case i dont know what i am doing wrong but apparently im doing something wrong i guess

3 comments
else is not necessary
for one, dont make the name of the first parameter "1", the lua parser is going to see that as a number, and a variable name
thats actually the letter L