Scripts · Electric Cherry { if (event.dataTransfer?.types.includes('Files')) { event.preventDefault(); dragDepth++; } }} ondragleave={() => dragDepth = Math.max(0, dragDepth - 1)} ondragend={() => dragDepth = 0} />
{#snippet actions()}{/snippet}
{#if loading || scripts.length || error}
{visible.length} of {scripts.length} scripts {#if failedCount && status !== 'failed'}{/if} {#if search || status !== 'all' || game || map}{/if}
{/if} {#if game}

Game results include unscoped scripts that can use explicitly selected beta servers.

{/if} {#if error}{/if} {#if loading}

Loading your library…

{:else if !scripts.length && !error}
{:else if !visible.length && !error} {:else}
{#each visible.slice(0,limit) as s (s.id)} {/each}
ScriptGame / scopeVersion / statusEligible serversNext action
toggle(s.id)} /> {s.name}{#if s.target_rel_path !== `${s.name}.gsc`}{s.target_rel_path}{/if} {scopeLabel(s)} {s.scope_type ? s.servers.length : 'Explicit targets'} {#if s.runningBetaId !== null}View beta {:else if scriptStatus(s) === 'failed'}Review failure {:else if canTest(s)}Create beta{/if}
{/if}
{#if selectedScripts.length}
{selectedScripts.length} selected{hiddenSelected ? ` · ${hiddenSelected} hidden` : ''}Latest versions selected {#if reviewSelection}
    {#each selectedScripts as script}
  • {script.name} · v{script.latestVersion?.version}
  • {/each}
{/if}
{/if}
{#if dragDepth > 0}
Drop your scripts hereWe’ll recognize existing scripts and check for duplicate versions.
{/if}