logicbot: if input =~ /power corrupts/i then response = self.send("power = corrupt") end logicbot: if input =~ /are we all corrupt/i then response = self.send("do we all have corrupt?") end logicbot: if response =~ /we all has corrupt/i then response.gsub!(/has corrupt/, "are corrupt") end