@commands(u'comments')
def show_comments(bot, trigger):
 if (not ismeetingrunning(trigger.sender)):
  return
 if (not ischair(trigger.nick, trigger.sender)):
  bot.say(u'Only meeting head or chairs can do that')
  return
 comments = meetings_dict[trigger.sender][u'comments']
 if comments:
  msg = u'The following comments were made:'
  bot.say(msg)
  logplain((u'<%s> %s' % (bot.nick, msg)), trigger.sender)
  for comment in comments:
   msg = (u'<%s> %s' % comment)
   bot.say(msg)
   logplain((u'<%s> %s' % (bot.nick, msg)), trigger.sender)
  meetings_dict[trigger.sender][u'comments'] = []
 else:
  bot.say(u'No comments have been logged.')

@ commands ( u'comments' ) def show_comments ( bot , trigger ) : if ( not ismeetingrunning ( trigger . sender ) ) : return if ( not ischair ( trigger . nick , trigger . sender ) ) : bot . say ( u'Only meeting head or chairs can do that' ) return comments = meetings_dict [ trigger . sender ] [ u'comments' ] if comments : msg = u'The following comments were made:' bot . say ( msg ) logplain ( ( u'<%s> %s' % ( bot . nick , msg ) ) , trigger . sender ) for comment in comments : msg = ( u'<%s> %s' % comment ) bot . say ( msg ) logplain ( ( u'<%s> %s' % ( bot . nick , msg ) ) , trigger . sender ) meetings_dict [ trigger . sender ] [ u'comments' ] = [ ] else : bot . say ( u'No comments have been logged.' )
show the comments that have been logged for this meeting with .