Esempio n. 1
0
	def __init__(self,user,passwd):
		TocTalk.__init__(self,user,passwd)
		self.IMcount = 0
		self.messages = [
"I'm angry, don't talk to me...",
"That's it!  If you talk to me one more time, I'm going to warn you.",
"You asked for it." ]
Esempio n. 2
0
 def __init__(self, user, passwd, recv_func=None):
     """
     Initialize the connection both as a TocTalk subclass.
     """
     TocTalk.__init__(self, user, passwd)
     self._recv_func = recv_func
     self._ready = False
     self._debug = 0
Esempio n. 3
0
 def __init__(self, user, passwd, recv_func=None):
     """
     Initialize the connection both as a TocTalk subclass.
     """
     TocTalk.__init__(self, user, passwd)
     self._recv_func = recv_func
     self._ready     = False
     self._debug     = 0
Esempio n. 4
0
	def __init__(self, lovejoy, name, passwd):
		TocTalk.__init__(self, name, passwd)
		self._info = "This is the Lovejoy AIM Bot. Type \"help\" for commands."
		self.lovejoy = lovejoy
		self.lovejoy.connect()
		self.currTime = time.localtime()
		self.danceLyrics = ["We can dance if we want too", 
				   "We can leave your friends behind", 
				   "'Cause if your friends don't dance", 
			     	   "and if they don't dance", 
				   "Well they're no friends of mine"]	
Esempio n. 5
0
 def __init__(self, user, pw):
     TocTalk.__init__(self, user, pw)
     self._info = "Google-AIM Bot"
Esempio n. 6
0
	def __init__(self,name,passwd,outer,hl):
		TocTalk.__init__(self,name,passwd)
		self.outer = outer
		self.blist = {}
		self.hl = hl
Esempio n. 7
0
	def __init__(self,uname,password):
		TocTalk.__init__(self,uname,password)
Esempio n. 8
0
	def __init__(self,user,passwd, masterSN):
		TocTalk.__init__(self,user,passwd)
		self.masterSN = masterSN
Esempio n. 9
0
	def __init__(self,user,passwd):
		TocTalk.__init__(self,user,passwd)
		# great method of passing data 
		# between the threads
		self.queue = Queue.Queue()