@commands(u'action')
@example(u'.action elad will develop a meetbot')
def meetingaction(bot, trigger):
 if (not ismeetingrunning(trigger.sender)):
  bot.say(u"Can't do that, start meeting first")
  return
 if (not trigger.group(2)):
  bot.say(u'try .action someone will do something')
  return
 if (not ischair(trigger.nick, trigger.sender)):
  bot.say(u'Only meeting head or chairs can do that')
  return
 logplain((u'ACTION: ' + trigger.group(2)), trigger.sender)
 logHTML_listitem((u'<span style="font-weight: bold">Action: </span>' + trigger.group(2)), trigger.sender)
 meeting_actions[trigger.sender].append(trigger.group(2))
 bot.say((u'\x02ACTION\x0f: ' + trigger.group(2)))

@ commands ( u'action' ) @ example ( u'.action elad will develop a meetbot' ) def meetingaction ( bot , trigger ) : if ( not ismeetingrunning ( trigger . sender ) ) : bot . say ( u"Can't do that, start meeting first" ) return if ( not trigger . group ( 2 ) ) : bot . say ( u'try .action someone will do something' ) return if ( not ischair ( trigger . nick , trigger . sender ) ) : bot . say ( u'Only meeting head or chairs can do that' ) return logplain ( ( u'ACTION: ' + trigger . group ( 2 ) ) , trigger . sender ) logHTML_listitem ( ( u'<span style="font-weight: bold">Action: </span>' + trigger . group ( 2 ) ) , trigger . sender ) meeting_actions [ trigger . sender ] . append ( trigger . group ( 2 ) ) bot . say ( ( u'\x02ACTION\x0f: ' + trigger . group ( 2 ) ) )
log an action in the meeting log URL .