output
print <text> โ print text to output
say <text> โ say something (with delay)
warn <text> โ print a warning
error <text> โ print an error
timing
wait <ms> โ pause execution (milliseconds)
sleep <ms> โ alias for wait
system
theme <1-5> โ switch color theme
glitch โ trigger glitch effect
shape <name> โ change shape (cube/sphere/tetra/cyl)
octa โ octahedron shape (locked until anomaly skill)
bgm โ toggle background music (wed: furnace, fri: landscaping, sat: faith plate, sun am: cat feet)
screenshot โ toggle screenshot mode (hide all UI)
perfmode โ toggle performance mode (reduce particles)
uptime โ show page uptime
visits โ show total visit count
skill - open the skill tree
slots - open the floppy shelf (5 save disks)
play [-1|0-20] - there is no game. (bare=ch0, numbers unlock by progress)
button - contain the button. one button, bad moods. (a non-game)
shift - night shift at cube#. twelve jobs, five coworkers. (a game)
office - clock in. obj narrates. 83 endings. (a non-game)
greyhall - descend. 6 wings, 1 open. (a hard game)
tbb - DEAD AIR. send signals. break the static. (a game)
buffs - obj wants to know your state. geography buffs. (no scam)
cove - watch the curtain. do not blink. (a game)
trailer - ghost plays cube for the camera. (ESC stops)
fly - the actual fruit fly brain. 139,255 neurons, live. (a brain)
obj - ask obj for pull access
pull - play a procedural void demo (needs obj)
demos - list saved void demos
replay <file> - replay a saved void demo
cubecheck [on|off] - auto-demo graffiti scan on/off
void-mute - silence void transmissions
void-unmute - let the void talk again
upgrade - open upgrade tree (locked until every skill)
bgm [track] - play void|furnace|friday|faith|cat|oneshot|moon|stanley|box|off, or toggle
weather <rain|snow|off|auto> โ change weather
sort <algo> [size] [speed] โ sorting visualizer (bubble,selection,insertion,quick,merge,shell)
sortstop โ stop sort visualization
clear โ clear the output log
travel <zone> โ travel through the void
logic
loop <n> โ repeat block n times (close with endloop)
loop counts are capped at 100 iterations for browser safety
endloop โ close loop block
if <condition> โ conditional block (close with endif)
else โ run the alternate branch when the if is false
endif โ close if block
break โ leave the current loop
continue โ jump to the next loop iteration
fn name args ... endfn โ define a reusable function
macro name args ... endmacro โ define a reusable macro
call name args โ invoke a function or macro
return โ stop the current script
random name min max โ store a random integer
assert name value โ stop when a variable does not match
calc <expr> โ evaluate math (e.g. calc 2+2)
set <var> <val> โ set a variable
get <var> โ get a variable value
if conditions
if x == 5 โ equals
if x != 0 โ not equals
if x > 10 โ greater than
if x < 5 โ less than
if x >= 1 โ greater or equal
if x <= 100 โ less or equal
if myvar โ truthy (exists, not 0/false/empty)
conditions are case-sensitive. strings must match exactly.
example: set count 3 โ if count == 3 โ print yes โ endif
variables expand with $name or ${name}; missing variables become empty text.
function example: fn greet name / say hello $name / endfn / call greet intruder
definitions are collected before execution, so functions may be written anywhere.
gui โ create windows
gui window "title" <w> <h> [random] โ create window
gui max [off] โ maximize / restore the active window
gui clear โ close every generated GUI window
gui label "text" <x> <y> โ add a label
gui button "text" <x> <y> "cmd" โ add button
gui input "placeholder" <x> <y> โ add text input
gui check "label" <x> <y> โ add checkbox
gui image "url" <x> <y> [w] [h] โ add image
gui close โ close active window
slider <min> <max> <value> <var> โ add a range slider
dropdown <var> "opt1,opt2,..." <default> โ add a dropdown select
colorpicker <var> "#hex" โ add a color picker
filesystem
cat <path> โ read file
ls [path] โ list directory
pwd โ current directory
cd <path> โ change directory
touch <name> โ create file
mkdir <name> โ create directory
echo > <file> โ write to file
rm <path> โ remove file
cp <source> <destination> โ copy a file
mv <source> <destination> โ move or rename a file
tree [path] โ show the virtual filesystem tree
variables
set <name> <value> โ store a variable
var <name> <value> โ store a variable (alias)
get <name> โ recall a variable
admin
admin <passphrase> โ unlock admin mode (bypasses safety limits)
alwaysontop <on|off> โ make active window stay on top of everything
godmode <on|off> โ make the cube invulnerable
speed <0.1-10> โ change script execution speed
debug โ show internal state (vars, windows, zone, memory)
freeze <on|off> โ freeze the cube in place
noclip <on|off> โ drag windows anywhere, even offscreen
edgewalk <on|off> โ never fall off the edge in cb_menu
override theme <1-8> โ access hidden themes
setday <mon-sat|earlsun|latesun|reset> โ override the day (test music, etc)
setseason <winter|spring|summer|autumn|reset> โ override the season (changes particles)
eval <code> โ run raw javascript (dangerous)
skillpoints [n] โ set skill + upgrade points (default 99999)
pull <1-9> โ force a demo script (needs admin)
danger list โ view available advanced scripts
danger run <name> โ launch a danger zone script
premium (voidscript premium โ anomaly final)
rainbow โ cycle all unlocked themes
invert โ toggle color inversion
shake โ violently shake the void
timelock โ stop time (cube + particles)
morphall โ rapid-cycle every unlocked shape
voidprint <text> โ premium glowing print
voidscream โ obj loses composure
oracle โ the void answers one question
sigpeek โ force a transmission now
mail โ read your act 2 mail
bios โ open the cube setup utility
jedec [off|on] โ query or change timing control status
dream โ fall asleep in the void
particlesurge โ temporarily triple particle count
objmode โ briefly speak as obj
xray โ dump skill + theme state
premhelp โ list premium voidscript ops
technical (voidscript technical โ area 6)
mset <cell> <v> โ write raw void memory
mget <cell> โ read raw void memory
madd <cell> <v> โ add to a cell
mmul <cell> <v> โ multiply a cell
mrand <cell> โ fill a cell with noise
mzero โ wipe all 256 cells
mfill <v> โ write one value to every cell
mswap <a> <b> โ swap two cells
mdump [n] โ hex dump first n cells
mplot [n] โ bar-chart first n cells
techhelp โ list technical voidscript ops
tips
one command per line. commands are case-sensitive.
use quotes around strings with spaces.
loop/endloop and if/endif must be on their own lines.
if conditions: if x == 5, if x != 0, if x > 10, if x < 5
if conditions: if x >= 1, if x <= 100, if myvar (truthy check)
gui commands create elements in the preview panel.
disable PREVIEW before running GUI-heavy scripts to avoid creating preview windows.
safety limits: 100 iterations per loop, 100 GUI windows, 10000 script operations.
press Ctrl+Enter to run. Ctrl+S to save. Esc to exit.