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