diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-12-12 23:38:51 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-12-12 23:38:51 +0000 |
commit | 99681ec568fb057cabd12c24813ce71e0d7fe271 (patch) | |
tree | 96afc19a590998884cc53813dfbca0e7a850929f /omegle/icqBuddy.py | |
parent | fa478701c643b22ad9337db2fefd28aa1113b37d (diff) | |
download | omegle-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 'omegle/icqBuddy.py')
-rw-r--r-- | omegle/icqBuddy.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/omegle/icqBuddy.py b/omegle/icqBuddy.py index cd34cd4..c51419f 100644 --- a/omegle/icqBuddy.py +++ b/omegle/icqBuddy.py @@ -2,6 +2,7 @@ # -*- vim: encoding: utf-8 -*- # Yves Fischer, xapek.org 2009 import sys +import random from twisted.words.protocols import oscar from twisted.internet import reactor @@ -13,6 +14,15 @@ from icq import ExtendedBOSConnection, ReconnectOscarFactory ICQ_UIN = '446323989' ICQ_PASSWORD = 'gagaga' +def random_greetings(): + gr = ( + "Sup dawg, we heard u need some stranger in ur chatroom, so we put a Stranger in ur chatroom so u can chat with him while u chat with others (until you type %disconnect% anywhere)", + "Connected with Omegle, be retarted with strangers!", + "Omegle ... its like pedo-roulette", + "Under law 153:276:935 section 864, Omegle is required to inform you that the person you are currently chatting with owns the IP address of a registered sex offender. Please be careful when chatting with this person, and remember never to give out your personal information. The person you are chatting with cannot see this message.", + ) + return "==== %s" % gr[random.randint(0,len(gr)-1)] + class OmegleICQChat(OmegleChat): def __init__(self,icqconn,user): self.user = user @@ -45,7 +55,7 @@ class OmegleICQChat(OmegleChat): def on_connect(self): print "Omegle->%s: (connected)" % self.user - self.send_icqconn( "== Sup dawg, we heard u need some stranger in ur chatroom, so we put a Stranger in ur chatroom so u can chat with him while u chat with others (until you type %disconnect% anywhere) ==" ) + self.send_icqconn( random_greetings() ) def on_disconnect(self): print "Omegle->%s: (disconnected)" % self.user |