i have a global text called name that is set to "nul" when the player enters their name in a TextBox the global text is set to what the player typed. Next to the TextBox i have a button. what i want to achieve is when the button is pressed the player goes to the next layout, but if they have not entered their name a message pops up telling the player to enter their name.
I know how to do everything apart from how do I compare the values of the value of the global text, eg. if name="nul" and name<>"nul" I have tried useing the system option to compare values, but cant figure out to use it to compare values of a global text, I have tried name.text and text.name etc but nothing seems to work