ATuringtest 14 Posted January 2, 2020 Report Share Posted January 2, 2020 I have a really simple script that triggers another because the first script dies after a couple of hours and I need it to run constantly loop while($true) { plugin command("Advanced Shell.dll", "shell batch hidden", "C:\\4g.exe /auto", "No") wait(1800) plugin command("Advanced Shell.dll", "shell batch hidden", "taskkill -im 4g.exe", "Yes")} It works fine when I run it in uBot but after I compile it , it just starts a browser called shell_com1 ?? not the target .exe Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted January 2, 2020 Report Share Posted January 2, 2020 Right click and run the exe as administrator maybe? Quote Link to post Share on other sites
ATuringtest 14 Posted January 2, 2020 Author Report Share Posted January 2, 2020 I can make it run auto by making a shortcut and adding /auto to the end of the first scriptAny idea how to compile it so it auto runs itself ? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted January 2, 2020 Report Share Posted January 2, 2020 I can make it run auto by making a shortcut and adding /auto to the end of the first scriptAny idea how to compile it so it auto runs itself ? You can try using the on load command, although it doesn't exactly work properly with everything. But worth a shot as it may work in your circumstance. Quote Link to post Share on other sites
ATuringtest 14 Posted January 3, 2020 Author Report Share Posted January 3, 2020 its working with the short cut that's fine for now Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.