We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f376c commit 25c8677Copy full SHA for 25c8677
1 file changed
scripts/logfile-parser.sh
@@ -6,11 +6,11 @@ LogParser() {
6
while IFS= read -r line; do
7
echo "$line"
8
9
- if [[ "$line" == *"is using new name"* ]]; then
+ if [[ "$line" == *"] player "* ]]; then
10
11
# Extract the steamid and character name
12
steamid=$(echo "$line" | awk -F'[[]|[ :]+|[]]' '{print $3}')
13
- char_name=$(echo "$line" | awk -F'new name ' '{print $2}')
+ char_name=$(echo "$line" | awk -F'player | connected' '{print $2}')
14
LogDebug "Character Name: $char_name ($steamid)"
15
16
# Store character name for future use
0 commit comments