Hello guys

I have the situation, my character needs to open a door normaly i use the option "use" (door lvl 50) but if have a player through the door it doesn't work, because the bot can't use a player, could we have a exemple to check if that position is the closed door before open? and if is not just try to pass through the player?