← Back to Users
DBergere's activity in the archive.
#!/bin/shif test $# -eq 2then response=`curl -s "http://aimfight.com/getFight.php?name1=$1&name2=$ 2"` noamp=`echo $response | tr '&' ' '` noeql=`echo $noamp | tr '=' ' '` echo $1 = $(echo $noeql | awk '{ print $4 }') echo $2 = $(echo $noeql | awk '{ print $6 }')else echo Usage aimfight [screenname1] [screenname2]fi
#!/bin/sh$ 2"`
if test $# -eq 2
then
response=`curl -s "http://aimfight.com/getFight.php?name1=$1&name2=
noamp=`echo $response | tr '&' ' '`
noeql=`echo $noamp | tr '=' ' '`
echo $1 = $(echo $noeql | awk '{ print $4 }')
echo $2 = $(echo $noeql | awk '{ print $6 }')
else
echo Usage aimfight [screenname1] [screenname2]
fi