diff options
Diffstat (limited to 'fischbot-wrapper.py')
| -rwxr-xr-x | fischbot-wrapper.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/fischbot-wrapper.py b/fischbot-wrapper.py new file mode 100755 index 0000000..b325ce3 --- /dev/null +++ b/fischbot-wrapper.py @@ -0,0 +1,31 @@ +import subprocess +import sys + +print sys.argv + +# SETUP +try: + nick = sys.argv[1] +except: + nick = 'fischbot' + +originalnick = nick + +try: + network = sys.argv[2] +except: + network = 'irc.afternet.org' + +try: + channel = sys.argv[3] +except: + channel = '#casiocalc' + +try: + port = sys.argv[4] +except: + port = 6667 + +while 1: + print 'Starting fischbot' + subprocess.check_call(['python', 'fischbot.py', str(nick), str(network), str(channel), str(port)])
\ No newline at end of file |
