ID:145344
 
Code:
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? :<


Ripped names? That's a weird term for it, but I guess it gets your point across. Not like I'd come up with anythihng better though. I suppose you are trying to block names like Goku and ssjmystic_majin_gokukikurbutt984890.

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.
In response to CaptFalcon33035
Ty. I never knew you were supposed to check them in a loop.. It works now. :)