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