so you want to get the real script-name of the variable as string?
engine_getvarinfo()
like this???