Skip to content

Instantly share code, notes, and snippets.

@gist777
gist777 / checktimers.sh
Created February 10, 2012 23:17
Check what ddo raids are on timer.
#!/bin/bash
USERNAME="xxxchangemexxx"
COOKIE="cookies.txt"
URL="http://my.ddo.com"
RAIDLIST="Accursed Ascension,The Titan Awakes,The Chronoscope,Hound of Xoriat,The Thirteenth Eclipse,A Vision of Destruction,The Reaver's Fate,The Vault of Night,The Devil You Know,Against the Demon Queen,The Master Artificer,The Lord of Blades"
VERS=.1
DEBUG=${DEBUG:-0}
RAIDTIMER=237600
CURTIME=$(date +%s)
usage()
{
echo "$0, version $VERS"
echo "Usage: checktimers [-v] [-h] [-u userid] [-l] [-a]"
echo "-v, -h: this help"
echo "-u: ddo forum userid"
echo "-l: ask for password (caches cookies in file $COOKIE)"
echo "-a: show all quests"
}