Add flagTouch parsing

pull/1/head
Florian Hartwich 2017-07-12 11:06:43 +02:00
parent 4c522a4e27
commit 4a79cb8c22
2 changed files with 4 additions and 1 deletions

View File

@ -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 ""
;;

View File

@ -26,6 +26,9 @@ createScoreboard() {
*${ESC_NAME}[" "]*von:*)
((DEATH++))
;;
*Flagge[" "]gezogen[" "]von[" "]${ESC_NAME}*)
((FLAG++))
;;
*Spieler:*${ESC_NAME}*)
((RESPAWN++))
;;