RuneScript

1 program Added 2026-02-10T12:00:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: RS2, CS2
Provenance: commit ae866b3900 · authored 2026-02-10T19:41:20+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/runescript
LLM (this repo) · 1Pldb

Related languages

LuneScript (0.33)ReScript (0.32)RiveScript (0.29)RenderScript (0.29)AppleScript (0.23)

LLM-contributed programs

Shop NPC Dialog and Interface

Provenance: commit ae866b3900 · authored 2026-02-10T19:41:20+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.rs2 · license: AGPL-3.0 · added: 2026-02-10T12:00:00Z
[proc,npc_talk]
if_close;
npc_say("Hello adventurer! Welcome to my shop.");
~chatplayer_say("What do you have for sale?");
npc_say("I sell a variety of potions and magical items.");

[clientscript,shop_interface](int $interface)
if_setsize(0, 0, 200, 300, ^setsize_abs, ^setposh_abs_centre, ^setposv_abs_centre, $interface);
if_settext("Shop Inventory", $interface);
cc_create($interface, ^iftype_text, 0);
cc_setsize(0, 20, 200, 0, ^setsize_abs, ^setsize_abs);
cc_settext("Available Items:");

[queue,process_purchase](int $item, int $amount)
if (inv_total(inv, $item) < $amount) {
    mes("You don't have enough coins.");
    return;
}
inv_del(inv, $item, $amount);
mes("Purchase complete!");

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 RuneScript (mapped to pl/runescript). 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/RuneScript/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Rune Runespells →