var/name
while(!name)
name=input(src,"What do you wish to be called?","Create") as text
if((name in namelist)||name in namelist){src<<"<big>Don't use ripped names!";name=null}
Problem description: Well, the code works. If the name is found in namelist, it returns to name=null. But I can still use, for instance, censoredname5545 and of the likes.
When I tryed using findtext()( if(findtext(name,namelist)) ) , it just blocked every name I tryed. o.O...
What's wrong? :<
Anyway, you have to use findtext() on text arguments, not lists. I take it that's what namelist is anyway. What you would do it loop through every value in the list and use findtext() on those.