Hey all.
I've written this script once to show all online players/friends without logging in.
you'll need 'wget' and 'notify-send' for it (libnotify-bin in ubuntu/debian).
#!/bin/sh
a=$(wget -qO-
http://62.173.168.9/index.php?page=char_stats | grep -v -E "<|>" | grep -v "^$" | sed 's/ //g' | sed 's/,/\n/g' | sort)
b=$(sort buddy 2>&1) || echo "couldn't find buddy list! please create file 'buddy' in this dir and write the names in it"
c=""
for i in $b
do
c=${c}$(echo $a | sed 's/ / \n/g' | grep $i)
done
notify-send "players online:" "$c"
echo $a