if(strcmp(cmdtext, "/enter", true) ==0) { if(IsPlayerInRangeOfPoint(playerid, range, x,y,z)) { Teleports etc. } return 1; }