cd ram: IF $Language EQ "français" RequestChoice >ENV:install Title="Installation de OpenTTD 1.12.0" Body="Désirez-vous installer OpenTTD 1.12.0 ?" "Oui" "Non" if $install eq "1" wget --no-check-certificate https://www.morphos-storage.net/games/strategy/OpenTTD_1.12.0.lha requestfile TITLE "Sélectionnez la destination" DRAWER "SYS:" >ENV:dest lha e ram:OpenTTD_1.12.0.lha $dest delete ram:OpenTTD_1.12.0.lha echo "OpenTTD 1.12.0 vient d'être installé dans$dest echo "Vous pouvez fermer cette fenêtre" RequestChoice >ENV:start Title="Lancement de OpenTTD 1.12.0" Body="Désirez-vous lancer OpenTTD 1.12.0 ?" "Oui" "Non" if $start eq "1" cd $dest open OpenTTD/ wbrun OpenTTD/OpenTTD endif if $start eq "2" endcli endif endif if $install eq "2" endcli endif endif IF NOT $Language EQ "français" RequestChoice >ENV:install Title="Installation of OpenTTD 1.12.0" Body="Do you want to install OpenTTD 1.12.0 ?" "Yes" "No" if $install eq "1" wget --no-check-certificate https://www.morphos-storage.net/games/strategy/OpenTTD_1.12.0.lha requestfile TITLE "Select destination" DRAWER "SYS:" >ENV:dest lha e ram:OpenTTD_1.12.0.lha $dest delete ram:OpenTTD_1.12.0.lha echo "OpenTTD 1.12.0 has just been installed to$dest echo "You can close this window" RequestChoice >ENV:start Title="Start of OpenTTD 1.12.0" Body="Do you want to start OpenTTD 1.12.0 ?" "Yes" "No" if $start eq "1" cd $dest open OpenTTD/ wbrun OpenTTD/OpenTTD endif if $start eq "2" endcli endif endif if $install eq "2" endcli endif endif