View Single Post
Junior Member
Join Date: Dec 2014
Old 12-26-2015 , 16:17   Re: Namechecking, beginner question
Reply With Quote #3

StrContains() doesn't return true/false, i think i remember it used to, it returns the position in the string where the substring is located or -1 if it didn't find it.
if(StrContains(clientName, "test", false) != -1){
is what you need

Last edited by Icon315; 12-26-2015 at 16:18.
Icon315 is offline