It\'s a bit long but everything is connected I tried to explain as much as possible the problem with the script and the conditions and the logic.
The script is very s