I just need to make sure those scripts are loaded
These three identifiers might help you:
$script(scriptfilename) will be $true if some remote script with <scriptfilename> is currently loaded
$alias(aliasfilename) -analogical-
$isalias(aliasname) will be $true
- if there is an alias <aliasname> in an aliasfile
- if there is a global alias <aliasname> in a remote file
- if there is a local alias <aliasname>
inside the same remote fileThe $isalias().fname property might help you further to confirm it's "your" alias you are trying to call - but as long as you use *distinct* aliasnames, this should be no source of error anyway.
Many scripts ('full' scripts, differing from addons in this sense) use one ore more 'core' script files and access (call or trigger) these routines again and again in their 'satellite' files.