GetScriptName
Returns the name of the script at index ScriptIndex.
Returns an empty string if no script with the given index exists.
Возвращает имя скрипта с индексом ScriptIndex.
Возвращает пустую строку, если скрипт с данным индексом не существует.
function GetScriptName(ScriptIndex: Word): String;
def GetScriptName(ScriptIndex: int) -> str: ...
begin
AddToSystemJournal('Script name: ' + GetScriptName(0));
end.
AddToSystemJournal(f'Script name: {GetScriptName(0)}')
GetScriptPath, GetScriptState, GetScriptsCount, GetScriptsList