CONNECTED

This commit is contained in:
fred 2023-01-07 19:02:29 +01:00
parent 0dc7fd4b28
commit c7db4ba4a3
1 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,10 @@ players=($(ls ~/.zen/game/players | grep -Ev "localhost" 2>/dev/null))
PLAYER=$OUTPUT
[[ $OUTPUT ]] \
&& rm -f ~/.zen/game/players/.current && ln -s ~/.zen/game/players/$PLAYER ~/.zen/game/players/.current && espeak "CONNECTED" && . "${MY_PATH}/tools/my.sh" \
&& rm -f ~/.zen/game/players/.current \
&& ln -s ~/.zen/game/players/$PLAYER ~/.zen/game/players/.current \
&& espeak "CONNECTED" \
&& . "${MY_PATH}/tools/my.sh" \
|| espeak "NO PLAYER"
[[ $OUTPUT == "" ]] \