Okay I understand what you were saying. But a classmate gave me the extremely simple answer that i really should have thought of...

if whateveryourradiobuttonis.checked = true then whatever