def cmd_addnotify(self,user, target, params): nick = user.split('!', 1)[0] #print params params = int(params) if params in feeds: if params in feed_notify: feed_notify[params] = feed_notify[params] + nick + ';' else: feed_notify[params] = nick+';' self.msg(target,'Added %s to feed id %s notify list.' % (nick,params)) #url = params feednfile = open("feed_notify.cfg", 'w') cPickle.dump(feed_notify,feednfile) feednfile.close() else: self.msg(target,'No such feed id')