BattleScriptBattleScriptBattleScriptBattleScript
BrowseUploadDocumentationCompiler / Decompiler
Home › Documentation › API Reference › Core Language
← Back to API Reference

Core Language (BCL)

The BattleScript Core Language defines the syntax, semantics and keywords of the language itself — everything that is the same regardless of which device or runtime executes your script. Pick a topic below to get started.

Keywords

The full list of reserved words and what each one does.

Variables and Data Types

Declaring typed variables and constants, and the built-in data types.

Functions

Defining functions, parameters, return values, modifiers and error handling.

States, Modules and Events

The event-driven state / module / event model that runs on the device.

Timers

Scheduling work with after and every, and controlling running timers.

Enums

Grouping related named constants used for states, modules and events.

Interfaces

Describing the shape of objects and event payloads.

Protocols

Defining bit-level encode/decode protocols for IR and comms.

BattleScript

A programming language for creating games and control scripts for the BattleCore laser tag system. Created with love ❤️ by Irrelon Software Limited.

The BattleCore laser tag system is currently in development and you can follow the progress over on our Facebook group.

For business development, media or other queries, please contact us at contact@irrelon.com

Links

  • Browse Scripts
  • Upload Script
  • Documentation
  • Online Compiler

Resources

  • Getting Started
  • API Reference
  • Examples
Terms of ServicePrivacy Policy

© 2026 Irrelon Software Limited. All rights reserved.