summaryrefslogtreecommitdiff
path: root/icqRoombot.tac
blob: 2f6fba11c8f3d2819267094b22ca8465282be256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)