-
Content Count
403 -
Joined
-
Last visited
-
Days Won
52
Single Status Update
-
jojo can u help me ? i need know my server time
- Show previous comments 3 more
-
Thank u
-
Some other functions that can help you understand. Found in Functions.lua
function GetNowWeek ( )
local Now_Week = os.date("%w")
local Now_WeekNum = tonumber(Now_Week)
return Now_WeekNum
end
function GetNowTime ( )
local Now_Time = os.date("%H")
local NowTimeNum = tonumber(Now_Time)
return NowTimeNum
end -
im new :3 can u help me to have handlechat
i make it
function HandleChat(role, message)
return 1
endcmd.list['time'] = function(role, param)
if param.n ~= 0 then
BickerNotice(role, 'This command requires zero parameters! /time')
return
end
SystemNotice(role, 'Server Time: '..os.date('%H')..':'..os.date('%M')..':'..os.date('%S'))
end
- Show next comments 3 more