var/list/Banned_Names = list("someone")
mob/verb/Rename_Self()
var/Name = input("","") as null|text
if(!Name) return
for(var/A in Banned_Names)
if(findtext(Name,A))
alert("Illegal name detected!","ERROR")
return
name = Name
Problem description:
For some reason no matter what I type in, findtext() somehow matches it to one of the entries in my list >_> I use this method to find symbols, and it works 100%. But it started being all screwy when I added in the banned names feature to it. Any reason why?
Works fine for me...