Changeset 63 for scripts/usr/local/lib/7dtd/monitor-log.sh
- Timestamp:
- Jul 6, 2014, 11:48:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/monitor-log.sh
r62 r63 27 27 fi 28 28 29 logPlayerConnect $INSTANCE $2 $steamid $329 logPlayerConnect $INSTANCE "$2" "$steamid" "$3" 30 30 31 31 for H in $(getHooksFor playerConnect); do 32 $H $INSTANCE $1 $2 $3 $steamid32 $H $INSTANCE "$1" "$2" "$3" "$steamid" 33 33 done 34 34 } 35 35 36 36 handleDisconnect() { 37 logPlayerDisconnect $INSTANCE $237 logPlayerDisconnect $INSTANCE "$2" 38 38 39 39 for H in $(getHooksFor playerDisconnect); do 40 $H $INSTANCE $1 $2 $NICKNAME $STEAMID40 $H $INSTANCE "$1" "$2" "$NICKNAME" "$STEAMID" 41 41 done 42 42 } … … 46 46 47 47 for H in $(getHooksFor chat); do 48 $H $INSTANCE $148 $H $INSTANCE "$1" 49 49 done 50 50 }
Note:
See TracChangeset
for help on using the changeset viewer.