public OnPlayerKeyStateChange(playerid,newkeys,oldkeys) { if(newkeys & KEY_ACTION) OnPlayerCommandText(playerid,"/enter"); return 1; }