NWScript

1 program Added 2026-02-07T18:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Neverwinter Nights Script
Provenance: commit 759037fa69 · authored 2026-02-07T13:19:23+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/nwscript
LLM (this repo) · 1PldbLinguistWikipediaWikidata · Q584620

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.nsslinguistprimary200.5K files

Related languages

BrightScript (0.25)NimScript (0.22)NScripter (0.22)NewtonScript (0.22)EmberScript (0.20)

LLM-contributed programs

Trigger Entry Script

Provenance: commit 759037fa69 · authored 2026-02-07T13:19:23+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.nss · added: 2026-02-07T18:30:00Z
// Script that fires when a creature enters a trigger
void main()
{
    object oPC = GetEnteringObject();
    
    // Check if the entering object is a player character
    if (!GetIsPC(oPC))
        return;
    
    // Speak a greeting message
    string sGreeting = "Welcome, " + GetName(oPC) + "!";
    SpeakString(sGreeting);
    
    // Create a visual effect
    effect eVFX = EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_1);
    ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVFX, GetLocation(oPC));
    
    // Give the player some gold
    GiveGoldToCreature(oPC, 100);
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about NWScript (mapped to pl/nwscript). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/NWScript/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← nwdiag NX →