daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Dec 14th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. Target=$1
  4.  
  5. if [[ $# -eq 0 ]] ; then
  6.     echo "This script takes one argument, your player name."
  7.     exit 0
  8. fi
  9.  
  10. while true
  11. do
  12.     if wget -qO- https://jutge.org/competitions/EDA:EDA_Q1_2018_19/results | grep -i $Target | grep text-danger &>/dev/null; then
  13.         clear
  14.         echo "You Are Dead!"
  15.     else
  16.         clear
  17.         echo "Still Alive!"
  18.     fi
  19.     sleep 60
  20. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top