模組:沙盒/Hat600/1
外观
local p = {}
function p.dat(frame)
r = ""
i = 1
while frame.args[i] ~= nil do
s = os.date("*t")
if frame.args[i] ~= "0"
then
s["year"] = frame.args[i]
end
i = i + 1
s["month"] = frame.args[i]
i = i + 1
s["day"] = frame.args[i]
i = i + 1
t = os.time(s)
if t == os.time()
then
r = r .. frame.args[i]
end
i = i + 1
end
return r
end
return p