Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/l/a/lampstand-HEAD/lampstand/reactions/choose.py   lampstand(Download)
	def channelAction(self, connection, user, channel, message):
		print "[Choose] called"
 
 
		if self.overUsed(self.uses, self.cooldown_number, self.cooldown_time):
	def privateAction(self, connection, user, channel, message):
		print "[Choose] called"
 
 
		if self.overUsed(self.uses, self.cooldown_number, self.cooldown_time):

src/l/a/lampstand-HEAD/lampstand/reactions/generic.py   lampstand(Download)
	def channelAction(self, connection, user, channel, message, matchindex):
		print "[Generic Reaction] called"
 
 
		if self.overUsed(self.uses):
 
 
		if self.overUsed(self.uses, self.cooldown_number, self.cooldown_time):
			if self.reactions[matchindex][1] != '':
				connection.message(user, self.reactions[matchindex][1])

src/l/a/lampstand-HEAD/lampstand/reactions/play.py   lampstand(Download)
	def channelAction(self, connection, user, channel, message, matchIndex = False):
		print "[PLAY] Reacting..."
		if self.overUsed(self.uses):
				connection.message(channel, self.overuseReactions[matchIndex])
				return True

src/l/a/lampstand-HEAD/lampstand/reactions/items.py   lampstand(Download)
 
 
		if self.overUsed(self.uses):
				connection.message(channel, self.overuseReactions[matchIndex])
				return True

src/l/a/lampstand-HEAD/lampstand/reactions/package.py   lampstand(Download)
			return False	
 
		if self.overUsed():
			connection.message(user, "Overuse Triggered" )
			return True

src/l/a/lampstand-HEAD/lampstand/reactions/hug.py   lampstand(Download)
	def channelAction(self, connection, user, channel, message):
 
		if self.overUsed():
			print "[HUG REACTION] OVERUSED %s" % user;
			connection.message(channel, "%s: I am not a vending machine :(" % user)

src/l/a/lampstand-HEAD/lampstand/reactions/eightball.py   lampstand(Download)
 
 
		if self.overUsed():
			connection.message(user, "The 8-ball says: 'Find a new prophet, I quit.', I'd give it a while to cool down." )
			return True

src/l/a/lampstand-HEAD/lampstand/reactions/dict.py   lampstand(Download)
 
 
		if self.overUsed():
			connection.message(user, "The dictionary is on fire. Leave it alone. (Overuse triggered)")
			return

src/l/a/lampstand-HEAD/lampstand/reactions/bible.py   lampstand(Download)
	def channelAction(self, connection, user, channel, message):
		matches = self.channelMatch.findall(message);
 
 
		if self.overUsed():

src/l/a/lampstand-HEAD/lampstand/reactions/insult.py   lampstand(Download)
	def channelAction(self, connection, user, channel, message):
 
		print "[INSULT] called"
 
		if self.overUsed():

  1 | 2  Next