time = os.date("*t")
stunde = time.hour
minute = time.min
print("Aktuelle zeit:".. stunde..":"..minute)
if stunde < 12 then
print("guten morgen")
elseif stunde < 18 then
print("guten tag")
else
print("guten abend")
end
To embed this project on your website, copy the following code and paste it into your website's HTML: