summaryrefslogtreecommitdiff
path: root/icqRoombot.tac
blob: a883d7667244e5ed9bc1d3fcf8f8ce33fcb9f6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env twistd
# vim: set ft=python sw=4 et syntax=python:

from omegle.icq import ReconnectingOSCARLoginFactory
from omegle.icqRoombot import ICQRoombot
from twisted.application import internet, service

#uin, password = ('370496181', 'megahal123')
uin, password = ('566193419', 'gagagaga')
host, port = ('login.oscar.aol.com', 5190)

f = ReconnectingOSCARLoginFactory(uin, password)
f.BOSClass = ICQRoombot

application = service.Application('icqRoombot')
service = internet.TCPClient(host, port, f)
service.setServiceParent(application)