How do I get subscripts to update on save?

Posted by Tesagk on Wed 19 Apr 2017 02:36 PM — 4 posts, 19,750 views.

#0
I apologize if this has been asked before, none of the phrases I tried seemed to find a relevant question and subsequent answer.

I am using "dofile" in a main script of sorts in order to manage multiple scripts split into separate files based on what they do. The problem is, when I make a change to one of them and save it, it does not change the main script file and so it does not trigger a refresh and update.

I'm looking for some methods by which I can automate this process. How do I get the scripts to refresh on the update of a subscript?
USA Global Moderator #1
You can't. You can make an alias to reload your main script, though.
#2
Fiendish said:

You can't. You can make an alias to reload your main script, though.


What's the function to do that?
USA Global Moderator #3
https://www.mushclient.com/scripts/doc.php?command=ReloadScriptFile