local config = {
["Monday"]= {x=32293, y= 31207, z= 7},
["Tuesday"] = {x=32301, y= 32837, z= 7},
["Wednesday"] = {x=32576, y= 32754, z= 7},
["Thursday"] = {x=33066, y= 32885, z= 6},
["Friday"] = {x=33234, y= 32483, z= 7},
["Saturday"] = {x=33170, y= 31809, z= 6},
["Sunday"]= {x=32328, y= 31782, z= 6}
}
if os.date("%X") == "00:00:00" then
teleported = 0
end
local day = config[os.date("%A")]
if day then
pos = day
if teleported ~= 1 then
doTeleportThing(nid, pos)
selfMoveTo(pos.x-1, pos.y, pos.z)
selfSay(day.x)
teleported = 1
end
end
end
if os.date("%X") == "Tuesday" then
if msgcontains(msg, 'violence') then
if getPlayerStorageValue(cid,9009) < 1 then
npcHandler:say('Convincing Ajax that it is not always necessary to use brute force... this would be such an achievement. Definitely a hard task though. ...', cid)
delayedSay17('Listen, I simply have to ask, maybe a stranger can influence him better than I can. Would you help me with my brother?', 1000, cid)
talkset(cid,id,1)
end
end
I think it depends on what OS you use. Not really sure though
Can be "tue"