public OnPlayerText(playerid, text[]) { if(strfind(text, "write w/e u want here", true) != -1 && strfind(text, "get car", true) != -1) { // our code goes here = whatever u want to happen } return 1; }