summaryrefslogtreecommitdiff
path: root/icqRoombot.tac
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-12-12 23:38:51 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-12-12 23:38:51 +0000
commit99681ec568fb057cabd12c24813ce71e0d7fe271 (patch)
tree96afc19a590998884cc53813dfbca0e7a850929f /icqRoombot.tac
parentfa478701c643b22ad9337db2fefd28aa1113b37d (diff)
downloadomegle-99681ec568fb057cabd12c24813ce71e0d7fe271.tar.gz
omegle-99681ec568fb057cabd12c24813ce71e0d7fe271.zip
clean
git-svn-id: http://xapek.org/svn/common/omegle@1484 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
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)