added a banner to luash, also prints _G.motd now

This commit is contained in:
Izaya 2017-06-12 23:55:13 +00:00
parent d122d67c51
commit 6361815eeb

View File

@ -1,5 +1,9 @@
function luash(si) function luash(si)
s("lua shell",function() s("lua shell",function()
if _OSVERSION and _BD then
write(_OSVERSION.." (built at ".._BD..")\t")
end
print(tostring(computer.freeMemory()/1024).."K free.",_G.motd)
print(_VERSION) print(_VERSION)
while true do while true do
write("> ") write("> ")