getScriptRepoId

static int getScriptRepoId()

Gets the active script's repo id

Return

the active script's repo id, or -1 if not running from the repo