ZERO SCRIPTS
Script Generator

Free tool

Check a Cronus Zen script

Paste a GPC script or open a .gpc file. You get a plain-English list of problems, each with its line and how to fix it, before you compile it in Zen Studio.

Runs in your browser: nothing is uploaded or stored The line and a fix for every problem Built from the official GPC docs

Private: the check runs entirely in your browser. Your script is never uploaded or stored, and it's gone when you close the page.

Results

No script yet

Paste a script on the left, open a .gpc file, or try the example.

What it checks

  • Syntax

    Missing or extra { } and ( ), missing semicolons, unexpected words, and code outside of any block.

  • Names

    Variables used but never declared, typos in function and combo names, duplicates, and wrong numbers of arguments.

  • Limits

    Numbers too big for GPC, save slots past SPVAR_64, const arrays that overflow their type, and OLED text wider than the 128-px screen.

  • File problems

    Invisible BOMs, binary or control bytes, characters pasted from chats and web pages, and junk left after the end of the code.

  • Suspicious code

    = where you meant ==, wait() outside a combo, a ; right after if (...), and variables or combos that are never used.

  • Errors and warnings

    Errors will very likely stop the script compiling. Warnings compile, but are worth a look.

The rules and the list of built-in functions and constants come from the official Cronus GPC scripting guide (opens in a new tab). This checker catches the mistakes that most often stop a script compiling, but it isn't Zen Studio: Zen Studio's compiler has the final word.

Want a script that compiles first time? The Script Generator builds one for you, with a mod menu.

ZERO SCRIPTS is not affiliated with Collective Minds.