修改版权时间,用户环境新增一个获取时间的函数

This commit is contained in:
MrZ626
2021-05-07 01:00:30 +08:00
parent ed6c6dc793
commit 152e248a15

View File

@@ -8,7 +8,7 @@ local outputBox=WIDGET.newTextBox{name="output",x=40,y=30,w=1200,h=610,font=25,l
local function log(str)outputBox:push(str)end
log{C.lP,"Techmino Console"}
log{C.lC,"©2020 26F Studio some rights reserved"}
log{C.lC,"©2021 26F Studio some rights reserved"}
log{C.dR,"DO NOT RUN ANY CODE YOU DON'T UNDERSTAND"}
local history,hisPtr={"?"}
@@ -623,6 +623,8 @@ local function log_user(str)
log(noLog and"CHEATER."or tostring(str))
end
local userG={
timer=TIME,
_VERSION=VERSION.code,
assert=assert,error=error,
tonumber=tonumber,tostring=tostring,