01.09.2012, 23:17
well, nice tutorial.
but i prefer strfind than strcmp.
because the player may write Hello Bot so the bot won't reply
so replace if(!strcmp(text. "Hello Bot")) to if(strfind(text, "Hello Bot")) (that's what i prefer)
but i prefer strfind than strcmp.
because the player may write Hello Bot so the bot won't reply
so replace if(!strcmp(text. "Hello Bot")) to if(strfind(text, "Hello Bot")) (that's what i prefer)