arnold, like I said, there is little problem in that part of script.
it waits until 5 seconds has passed.
and it also waits that all other things are good.

so that's why there is is the infinite loop.
that my and stuff is not the ultimate solution but it can get it to stop after the 5 sec timeout.
_________________________
!

download KiXnet