Skip to content

Commit

Permalink
chatlogs filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sirinoks committed Feb 22, 2024
1 parent 1b16a97 commit 7010031
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,16 @@ for(let i=0; i<sepLines.length; i++){
// let location = oneLine.split(regex, 1);
console.log(location);
}
}

//chatlogs sort

let chatLines = lines(chatLogs);
let filtered = [];

for(let i=0; i<chatLines.length; i++){
if(chatLines[i].includes("будет атакован кланом")){
filtered.push(chatLines[i]);

}
}

0 comments on commit 7010031

Please sign in to comment.