def sayHello(self, user): if user != ircHelpers.getNick(): ircHelpers.pmInChannel(user, "Hello %s! If you're new, try !!help" % user) ircHelpers.pmInChannel(user, "There may not always be a lot of activity here, just stick around. IRC use requires some patience. If you need a response quickly try ping either kzisme or paddatrapper")
def sayHello(self, user): if user != ircHelpers.getNick(): ircHelpers.pmInChannel(user, "Hello %s! If you're new, try !!help" % user)
def perform(self, data): match = self.regex.match(data) if match: if match.group('user') != ircHelpers.getNick(): ircHelpers.sayInChannel('Hello %s!' % match.group('user'))
def sayHello(self, data): match = self.regex.match(data) if match: if match.group('user') != ircHelpers.getNick(): ircHelpers.sayInChannel('Hello %s!' % match.group('user'))
def sayHello(self, user): if user != ircHelpers.getNick(): ircHelpers.pmInChannel( user, "Hello %s! If you're new, try !!help" % user)