Example #1
0
def nameList( bot, line, socket ):
	if bot.nick + ' @' in line:
		bot.activeNickList = []
		msg = helpers.getMsg( line )
		nameslist = []
		for i in msg.split():
			if i == bot.nick:
				continue
			if i == '366':
				nameslist.pop()
				break
			nameslist.append( i )
		bot.addNames( nameslist )
Example #2
0
def nameList(bot, line, socket):
    if bot.nick + ' @' in line:
        bot.activeNickList = []
        msg = helpers.getMsg(line)
        nameslist = []
        for i in msg.split():
            if i == bot.nick:
                continue
            if i == '366':
                nameslist.pop()
                break
            nameslist.append(i)
        bot.addNames(nameslist)
Example #3
0
def topic( bot, line, socket ):
	msg = helpers.getMsg( line )
	bot.setChannelTopic( msg )
Example #4
0
def topic(bot, line, socket):
    msg = helpers.getMsg(line)
    bot.setChannelTopic(msg)