Skip to content
ffredyk edited this page Jul 24, 2026 · 9 revisions

SQ# Wiki

Welcome to the SQ# wiki — complete documentation for the SQ# scripting engine.

Engine Documentation

Migration Guides


Command Reference

Each page documents one command with its arity, behavior, usage examples, and thread safety.

Categories

Value Constructors

  • nil — nil / nothing value
  • true — Boolean true
  • false — Boolean false

Arithmetic Operators

  • + — addition / string concatenation
  • - — subtraction / negation
  • * — multiplication
  • / — division
  • % — modulo
  • ^ — power (exponentiation)
  • min — smaller of two
  • max — larger of two

Comparison Operators

  • == — equal
  • != — not equal
  • < — less than
  • > — greater than
  • <= — less than or equal
  • >= — greater than or equal

Logical Operators

  • ! — logical NOT
  • && — logical AND (short-circuit)
  • || — logical OR (short-circuit)

Array Commands

String Commands

Math Commands

  • abs — absolute value
  • floor — round down
  • ceil — round up
  • round — round to nearest
  • sqrt — square root
  • sin — sine
  • cos — cosine
  • tan — tangent
  • asin — arc sine
  • acos — arc cosine
  • exp — natural exponential
  • log — natural logarithm
  • atan2 — 2-argument arc tangent
  • pow — power (command form)

Random Commands

Type & Introspection

  • typeName — get type name
  • isNil — nil/undefined check
  • isNull — ScriptHandle resolution check

HashMap Commands

Code Execution

Concurrency

Scheduler Management

Thread Safety

Error Handling

Output

Time

Multiplayer (Stubs)

Compiler Constructs

  • params — array destructuring

See Also

SQ# Wiki

Home

Engine Docs

Migration

Commands

Value Constructors

Arithmetic

Comparison

Logic

Array

String

Math

Random

Type & Introspection

HashMap

Code Execution

Concurrency

Scheduler

Thread Safety

Error

Output

Time

Multiplayer

Compiler

Clone this wiki locally