Add flagTouch parsing
parent
4c522a4e27
commit
4a79cb8c22
|
@ -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 ""
|
||||
;;
|
||||
|
|
|
@ -26,6 +26,9 @@ createScoreboard() {
|
|||
*${ESC_NAME}[" "]*von:*)
|
||||
((DEATH++))
|
||||
;;
|
||||
*Flagge[" "]gezogen[" "]von[" "]${ESC_NAME}*)
|
||||
((FLAG++))
|
||||
;;
|
||||
*Spieler:*${ESC_NAME}*)
|
||||
((RESPAWN++))
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue