var lastActivity = Date.now(); const oalm = 15; const oapetsus = 15; oalmhb = "150663a5ed9f595d6e3345399e2ac2323cf5fbea6d2fb4befa733aa4b74d422a2b"; oalmtbu = 1770857827; function getLastActivity(){ return Math.round((Date.now()-lastActivity)/(1000)); } function updateLastActivity(){ lastActivity = Date.now(); if(stoplisted){ lastActivity = lastActivity-(oalm-5)*60*1000; } }