diff --git a/bot.sh b/bot.sh index 455cee5..86e1877 100755 --- a/bot.sh +++ b/bot.sh @@ -42,7 +42,7 @@ while [ "${1}" == "start" ]; do ps -w -w -U syncplay -o args= | grep "syncplay-server" >/dev/null \ && __syncplay_status="online" || __syncplay_status="offline" editmsg "${curmsg[chat_id]}" "${curmsg[msg_id]}" "checking again..." - ps -w -w -U steam -o args= | grep "hlds_run" >/dev/null \ + ps -w -w -U steam -o args= | grep "hlds_linux" >/dev/null \ && __cstrike_status="online" || __cstrike_status="offline" editmsg "${curmsg[chat_id]}" "${curmsg[msg_id]}" "${__ip}%0Asyncplay(${__syncplay_status}): port 60000%0Acstrike(${__cstrike_status}): port 64000" "${inline_kbd}" unset curmsg