Added waitnotmoving

waitnotmoving - waits until the player isn't moving.