enanobot
author Dan
Wed, 31 Dec 2008 21:54:19 -0500
changeset 39 4027a5b47db5
parent 8 0acb8d9a3194
permissions -rwxr-xr-x
echo: added ability to PM people with !pm [nick] [message]

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