101 | | #Player connected, clientid=[0-9]*, entityid=[0-9]*, name=.*, steamid=[0-9]*, ip=[0-9.]*$ |
| 100 | #Player connected, entityid=1278, name=termo2, steamid=76561197997439820, ip=178.203.27.140 |
| 101 | #Player connected, entityid=[0-9]*, name=.*, steamid=[0-9]*, ip=[0-9.]*$ |
103 | | clientId=$(expr "$line" : 'Player connected, clientid=\([0-9]*\), entityid=[0-9]*, name=.*, steamid=[0-9]*, ip=[0-9.]*$') |
104 | | entityId=$(expr "$line" : 'Player connected, clientid=[0-9]*, entityid=\([0-9]*\), name=.*, steamid=[0-9]*, ip=[0-9.]*$') |
105 | | playerName=$(expr "$line" : 'Player connected, clientid=[0-9]*, entityid=[0-9]*, name=\(.*\), steamid=[0-9]*, ip=[0-9.]*$') |
106 | | steamId=$(expr "$line" : 'Player connected, clientid=[0-9]*, entityid=[0-9]*, name=.*, steamid=\([0-9]*\), ip=[0-9.]*$') |
107 | | ip=$(expr "$line" : 'Player connected, clientid=[0-9]*, entityid=[0-9]*, name=.*, steamid=[0-9]*, ip=\([0-9.]*\)$') |
| 103 | entityId=$(expr "$line" : 'Player connected, entityid=\([0-9]*\), name=.*, steamid=[0-9]*, ip=[0-9.]*$') |
| 104 | playerName=$(expr "$line" : 'Player connected, entityid=[0-9]*, name=\(.*\), steamid=[0-9]*, ip=[0-9.]*$') |
| 105 | steamId=$(expr "$line" : 'Player connected, entityid=[0-9]*, name=.*, steamid=\([0-9]*\), ip=[0-9.]*$') |
| 106 | ip=$(expr "$line" : 'Player connected, entityid=[0-9]*, name=.*, steamid=[0-9]*, ip=\([0-9.]*\)$') |
112 | | #Removing player with id clientId=[0-9]*, entityId=[0-9]*$ |
113 | | if [ -n "$(echo "$line" | grep '^Removing player with id ')" ]; then |
114 | | playerId=$(expr "$line" : 'Removing player with id clientId=\([0-9]*\), entityId=[0-9]*$') |
115 | | entityId=$(expr "$line" : 'Removing player with id clientId=[0-9]*, entityId=\([0-9]*\)$') |
| 111 | #Player disconnected: EntityID=[0-9]*, PlayerID='[0-9]*', OwnerID='[0-9]*', PlayerName='.*'$ |
| 112 | if [ -n "$(echo "$line" | grep '^Player disconnected: ')" ]; then |
| 113 | playerId=$(expr "$line" : "Player disconnected: EntityID=[0-9]*, PlayerID='\([0-9]*\)', OwnerID='[0-9]*', PlayerName='.*'$") |
| 114 | entityId=$(expr "$line" : "Player disconnected: EntityID=\([0-9]*\), PlayerID='[0-9]*', OwnerID='[0-9]*', PlayerName='.*'$") |
125 | | #Executed command ".*" from player ".*"$ |
126 | | if [ -n "$(echo "$line" | grep '^Executed command ')" ]; then |
127 | | cmd=$(expr "$line" : 'Executed command "\(.*\)" from player ".*"$') |
128 | | nick=$(expr "$line" : 'Executed command ".*" from player "\(.*\)"$') |
| 124 | #Executing command ".*" from client ".*"$ |
| 125 | if [ -n "$(echo "$line" | grep '^Executing command '.*' from client')" ]; then |
| 126 | cmd=$(expr "$line" : "Executing command '\(.*\)' from client .*$") |
| 127 | nick=$(expr "$line" : "Executing command '.*' from client \(.*\)$") |
132 | | #Telnet executed ".*" from: .*$ |
133 | | if [ -n "$(echo "$line" | grep '^Telnet executed ')" ]; then |
134 | | cmd=$(expr "$line" : 'Telnet executed "\(.*\)" from: .*$') |
135 | | ip=$(expr "$line" : 'Telnet executed ".*" from: \(.*\)$') |
| 131 | #Executing command ".*" by Telnet from .*$ |
| 132 | if [ -n "$(echo "$line" | grep '^Executing command '.*' by Telnet from ')" ]; then |
| 133 | cmd=$(expr "$line" : "Executing command '\(.*\)' by Telnet from .*$") |
| 134 | ip=$(expr "$line" : "Executing command '.*' by Telnet from \(.*\)$") |