Set active topics and limits after a response has been triggered
        :param user: The user triggering the response
        :type  user: agentml.User

def apply_reactions(self, user):
        """
        Set active topics and limits after a response has been triggered
        :param user: The user triggering the response
        :type  user: agentml.User
        """
        # User attributes
        if self.global_limit:
            self._log.info('Enforcing Global Trigger Limit of {num} seconds'.format(num=self.global_limit))
            self.agentml.set_limit(self, (time() + self.global_limit), self.glimit_blocking)

        if self.user_limit:
            self._log.info('Enforcing User Trigger Limit of {num} seconds'.format(num=self.user_limit))
            user.set_limit(self, (time() + self.user_limit), self.ulimit_blocking)

        for var in self.vars:
            var_type, var_name, var_value = var
            var_name  = ''.join(map(str, var_name)) if isinstance(var_name, Iterable) else var_name
            var_value = ''.join(map(str, var_value)) if isinstance(var_value, Iterable) else var_value

            # Set a user variable
            if var_type == 'user':
                self.user.set_var(var_name, var_value)

            # Set a global variable
            if var_type == 'global':
                self.agentml.set_var(var_name, var_value)