I have a bot running on a remote VPS server, and I am constantly updating and modifying it's modules. However, everytime I want to ammend one of the scripts, I have to RDP access the server and use mIRC remotely.

So! I decided to install an FTP server and remotely upload the modified scripts. My bot now detects when a new script file is present in the "Updates" directory and unloads the old version and loads the new.

All the scripts have a on load/on unload script to inform me in my channel when a script has been loaded or unloaded, so I can verify that a script has updated properly. The on unload if fine, I get a message in my channel saying "Module "test" unloaded successfully", but when it comes to loading the new version, it always stops at the "Script Warning - Run initialization commands?" dialog, and I STILL have to RDP access the server to click OK. Is there a switch to On Load to just load the script without asking for confirmation????

Any and all help is greatfully received smile