I realized I should rephrase the question a little better and it’s past my edit time limit so basically:
I need a conditional that says “if” a custom field/input value is equal to the current post/page title, then do something.
Here is what I have, but it just displays the current page title as if I was just echoing it:
<?php if(get_post_meta($page->ID, "p30-disc", true)==the_title()) { ?>