Skip to content

Core Syntax and Console

egyptron edited this page Sep 24, 2026 · 1 revision

Core Syntax & Console Logging

Awake Simple S1 includes four distinct color-coded console printing modes, timing controls, and execution termination.


Comments

Line comments begin with note:. Anything after note: on that line is ignored.

note: This is a developer comment

Console Display Commands

The engine includes built-in ANSI-colored stream printers:

display("<message>")
display_error("<message>")
display_warn("<message>")
display_success("<message>")
Command Output Color Standard Purpose
display(...) Standard White General logging, outputs, scores.
display_error(...) Bold Red Critical errors, failures, boss warnings.
display_warn(...) Bold Yellow Warnings, caution notes, environmental alerts.
display_success(...) Bold Green Successful actions, victories, save confirmation.

Example:

display("Initializing system...")
display_warn("Low disk space detected.")
display_error("Failed to load map data!")
display_success("Recovered from backup successfully.")

Execution Timing & Delays

Pause thread execution without freezing host system processes:

wait <count> seconds
wait <count> milliseconds

Example:

display("Charging laser...")
wait 1 seconds
display("Target acquired.")
wait 500 milliseconds
display("FIRE!")

Terminating Execution

TerminateProcess()
nothing_pp()
  • TerminateProcess(): Immediately halts and exits the script with return code 0.
  • nothing_pp(): A formal no-op placeholder statement (does nothing).

Clone this wiki locally