In my admittedly limited testing, I seem to be able to get a script's file name merely by using:
set scriptName to my name
This gives the file name of the script (or the name of the script's window in Script Editor) without the extension. You haven't given many details about what you're doing, though. Your question seems to imply that you are either:
load script
command, which is sophisticated, but strikes me as something outré enough that you would have mentioned itCan you give more details about your actual goals?