Files
tilde-projects/Code/irc/run_madlib.sh
T

8 lines
248 B
Bash
Raw Normal View History

2018-06-13 14:34:23 +00:00
#!/bin/bash
if [[ ! `pidof -sx madlibbot.py` ]]; then
nohup ./madlibbot/madlibbot.py -s 127.0.0.1:6667 -n madlibbot -c \#bots \#madlibs >> madliblog 2>> madliblog &
2018-06-13 14:34:23 +00:00
echo "Starting madlibbot"
else
echo "madlibbot has already been started"
fi