#How do i make an if statement with the conditon that something does = nothing
1 messages · Page 1 of 1 (latest)

yeah but that doesnt check if the varabel is empty
what is your empty variable? is it nil or something like ""?
so maby i wrote my question wrong but i have a text box and the text of the text box gets put into a string and i want to check if its empty
So then you are looking for an empty string, then you can just do the if statement suggest here but check if its equal to "" (<-- two quotation marks)
if that doesnt work then you can also check to see if its equal to nil
but either of those should work
both time this comes out
** You are now Level 1! **
remove not and do ~= instead
its a unrelated suggestion to how you are doing "not equal to"
ok ty sm