diff --git a/api/war-parser/clean.sh b/api/war-parser/clean.sh index be0cd7d..7f7ed42 100755 --- a/api/war-parser/clean.sh +++ b/api/war-parser/clean.sh @@ -4,7 +4,7 @@ FILE="$1/war.log" while IFS='' read -r line || [[ -n "$line" ]]; do case "$line" in - *"Budget"* | *"Mission"* | *"Abschuss"* | *"Respawn"* | *"Punkte"*) + *"Budget"* | *"Mission"* | *"Abschuss"* | *"Respawn"* | *"Punkte"* | *"Flagge"*) echo $line; echo "" ;; diff --git a/api/war-parser/run.sh b/api/war-parser/run.sh index 332adc0..ce40067 100755 --- a/api/war-parser/run.sh +++ b/api/war-parser/run.sh @@ -26,6 +26,9 @@ createScoreboard() { *${ESC_NAME}[" "]*von:*) ((DEATH++)) ;; + *Flagge[" "]gezogen[" "]von[" "]${ESC_NAME}*) + ((FLAG++)) + ;; *Spieler:*${ESC_NAME}*) ((RESPAWN++)) ;;