var/list/symbols = list("`","~","!","@","#","$","%","^","&","*","(",")","-","_","=","+",\
"\[","]","{","}",";",":","'","\"",",","<",".",">","/","?")
proc/Symbol_Check(t)
for(var/sym in symbols)
if(findtext(t,sym)) return TRUE
else return FALSE
mob/verb/Whatever()
var/a = input("","") as null|anything
if(Symbol_Check(a)) src<<"No symbols allowed"
Problem description:
For some reason, the verb is always succeeding, even when I enter symbols in for var/a >.< It works perfectly fine for my "number check" and it's the same exact thing, only it references a list that has the numbers 0-9. Any reason why my "symbol check" here won't work?
Try removing your else statement.