Add flagTouch parsing
parent
4c522a4e27
commit
4a79cb8c22
|
@ -4,7 +4,7 @@ FILE="$1/war.log"
|
||||||
|
|
||||||
while IFS='' read -r line || [[ -n "$line" ]]; do
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
case "$line" in
|
case "$line" in
|
||||||
*"Budget"* | *"Mission"* | *"Abschuss"* | *"Respawn"* | *"Punkte"*)
|
*"Budget"* | *"Mission"* | *"Abschuss"* | *"Respawn"* | *"Punkte"* | *"Flagge"*)
|
||||||
echo $line;
|
echo $line;
|
||||||
echo ""
|
echo ""
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -26,6 +26,9 @@ createScoreboard() {
|
||||||
*${ESC_NAME}[" "]*von:*)
|
*${ESC_NAME}[" "]*von:*)
|
||||||
((DEATH++))
|
((DEATH++))
|
||||||
;;
|
;;
|
||||||
|
*Flagge[" "]gezogen[" "]von[" "]${ESC_NAME}*)
|
||||||
|
((FLAG++))
|
||||||
|
;;
|
||||||
*Spieler:*${ESC_NAME}*)
|
*Spieler:*${ESC_NAME}*)
|
||||||
((RESPAWN++))
|
((RESPAWN++))
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue