Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/15/12 in all areas

  1. For Example: -- Sol (www.polish-frags.pl) logname = "serverlog.log" data = "12:00:00" - rm log every day at 12:00 function et_RunFrame( levelTime ) if string.find(os.date(), data) ~= nil then if et.HOSTARCH == "UNIX" then os.execute(string.format("rm %s/%s/%s",tostring(et.trap_Cvar_Get("fs_homepath")),tostring(et.trap_Cvar_Get("fs_game")),logname)) elseif et.HOSTARCH == "WIN32" then os.execute(string.format("DEL %s/%s/%s",tostring(et.trap_Cvar_Get("fs_homepath")),tostring(et.trap_Cvar_Get("fs_game")),logname)) end end end
    1 point
×
×
  • Create New...