I was mentioning that our example doesn't handle window closures, not your own. :P
wellp... i officially just went overboard.... i went and reworked the entire Server Manager.... its a fuckin work of art now... you honestly gotta check it out you'll shit your drawers....
Server Manager 2.0
Server Manager 2.1 Minor fix (Spelling Error)
Preview of manager script

Merged postServer Manager 2.2Β Major Fix (needed to correct file paths so they persisted when called from a different home directory)
Merged postServer Manager 2.3Β Fixed some variables i missed, it should work 100% now.
Merged postby the way i give you guys permission to use this script if you want to add it onto oxide as an additional download. its not like i designed it for any other thing lol, well the original program was designed for a different game but it used the same general layout as rust servers so it will works none the less, im sure with a little tweaking you could make it run with different servers but unless im hosting them i probably won't make the changes to the script myself.
Merged postjust make sure to give me a little mention in the description/info if you do end up using it lol, xD i had to learn quite a bit about vbs and batch scripting overnight during the process of making it lol
Merged postServer Manager 2.4 Fixed Small error that was causing and error with starting RustDedicated.exe in the Rust_Server. ....should finally work 100% this time... sorry for all the busted versions... these errors just kept popping up afterwards for some strange reason and weren't popping up on my innitial test of the script....
Merged posttheres bug in all versions that causes weird behaviour with the desktop shortcut,Β im working on figuring out whats causing it but a quick fix iv found is to just launch the server manager directly from the batch file or create a desktop shortcut manually... im not sure exactly why the shortcut thats created by the script is having issues when a manually one doesn't... will link the next version when i find the fix
Merged postboth 2.3 and 2.4 will technically work but i advise using v2.3 because 2.4 has a fix that i just realized is causing unintended behaviour
Merged postactually nvm neither of them work... one launches the correct file but it just hangs there and the other cant find the file... wait for the next version il make sure its completely working before posting.... but if you wanna take a crack at it yourself feel free to give it a go.
Merged postServer Manager 3.0 Final VersionΒ All Bugs have been fixed
Merged postthe program no longer creates a desktop shortcut automatically because there was an issue stemming from that, also the Server Manager is now in .exe format so you don't have to change the icon when you create a desktop shortcut