-
Content Count
403 -
Joined
-
Last visited
-
Days Won
52
Single Status Update
-
jojo can u help me ? i need know my server time
-
If you have chathandle functions ->
cmd.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 -
i dont have :(
-
On Notepad -> file name -> Timer.lua
**Extension Wise**
dofile Timer.luado
RanNotice = {}
endRanNotice.Text = {
}
function RanNoticeTicking()
local second, minute = tonumber(os.date('%S')), tonumber(os.date('%M'))
local every_5_min = math.mod(minute,RanNotice.Every)
if(every_5_min == 0)then
if(second == 1)then
local total = table.getn(RanNotice.Text)
local ran = math.random(1,(total+1))
if(ran > total)then
Notice(RanNotice.Heading..': Server Time ['..os.date()..']')
else
Notice(RanNotice.Heading..': '..RanNotice.Text[ran])
end
end
end
end
- Show next comments 6 more
-