Posts: 1,349
Threads: 194
Joined: Jan 2014
Reputation:
0
if(!strcmp(name, "Sasuke_Uchiha", true)) how can i add 2 or more names like sasuke_uchiha can use this cmd too and arose can too
Posts: 58
Threads: 10
Joined: Feb 2014
Reputation:
0
if(!strcmp(name, "Sasuke_Uchiha", true) || !strcmp(name, "", true))
the || is an operator that means or. You can do that for each name so in psuedo that line says.
If the string is "Sasuke_Uchiha" OR "" then.
This is a really inefficient way of doing things, but it is ONE way to how you have written it.