• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua os.date check the day

silveralol

Advanced OT User
Joined
Mar 16, 2010
Messages
1,484
Solutions
9
Reaction score
217
hello folks, I'm trying check if the current day is the day in the config...
using it to test
Code:
local spawnDay = 16
local currentDay = os.date("%d")
if spawnDay == currentDay then
     player:say('day 16 working.', TALKTYPE_MONSTER_SAY)
end
but don't work, don't appear the message
 
Back
Top