summaryrefslogtreecommitdiff
path: root/icqRoombot.tac
diff options
context:
space:
mode:
Diffstat (limited to 'icqRoombot.tac')
-rw-r--r--icqRoombot.tac15
1 files changed, 15 insertions, 0 deletions
diff --git a/icqRoombot.tac b/icqRoombot.tac
new file mode 100644
index 0000000..2f6fba1
--- /dev/null
+++ b/icqRoombot.tac
@@ -0,0 +1,15 @@
+#!/usr/bin/env twistd
+# vim: set ft=python sw=4 et syntax=python:
+
+from omegle.icq import ReconnectOscarFactory
+from omegle.icqRoombot import ICQRoombot
+from twisted.application import internet, service
+
+uin, password = ('370496181', 'megahal123')
+host, port = ('login.oscar.aol.com', 5190)
+
+factory = ReconnectOscarFactory(ICQRoombot, uin, password, icq=1)
+
+application = service.Application('icqRoombot')
+service = internet.TCPClient(host, port, factory)
+service.setServiceParent(application)