Relic Castle

So I created a note pad section in the pause menu (btw I am using dppt pause menu by marin)
But how do I make it check if a global switch is on/off and then only display the text

Thank you
Top