# frozen_string_literal: true Gamefic::Standard.script do respond :repeat do |actor| if actor.last_input && !actor.last_input.empty? actor.tell "Repeating \"#{actor.last_input}\"..." actor.queue.push actor.last_input else actor.tell "You don't have a previous command to repeat right now." end end interpret 'again', 'repeat' end