[Tutorial] How to make a "BOT" replies almost everything player says..
#2

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)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)