Thread:Project:Support desk/User script interdependencies/reply (3)

You'll need to use $.getScript for that, passing the complete URL of the script (if it's a wiki page, with the &action=raw&ctype=text/javascript query string):

Note that it doesn't allow cross-domain requests, so the script must be on the same wiki. Otherwise, there's no way to do that, except if you save your function in a sort of global variable and make the script attempt to read that variable to execute the function upon being loaded.