enanobot
author Dan
Sat, 10 Jan 2009 14:07:54 -0500
changeset 48 d793361a27ec
parent 8 0acb8d9a3194
permissions -rwxr-xr-x
Greeting: bot no longer greets itself

#!/bin/bash
[ -n "$1" ] &&
{
  php $(dirname $0)/enanobot.php $@
  exit $?
}
while true; do
  php $(dirname $0)/enanobot.php
  [ x$? = x2 ] && break
done &