> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solidyne.ar/llms.txt
> Use this file to discover all available pages before exploring further.

# Commercial Break Commands

> Commercial breaks and related commands

Below are the main commands used for **commercial break scheduling** in AUDICOM. \
Many of these commands can also be used in special programming blocks (see [Content Block Commands](/en/audicom/au-cpeditor-comandosbloques))

Keep the syntax exactly as shown and always validate in the **CyberPlay-Test** preview.

***

## Commercial Break

`/Tanda [Name] /HH:MM XYZ`

* **/HH:MM** → Start time (hh:mm).
* **XYZ** → Flexibility variables (optional):
  * **X = S (Start)** → time corresponds to break **start**.
  * **X = E (End)** → time corresponds to break **end**.
  * **Y = C (Clock)** → exact time break (average error ± 6 s).
  * **Y = F (Flexible)** → flexible break.
  * **Z** → tolerance in minutes (integer).

<Note>
  If no variables are declared, **SF5** is assumed (flexible start with 5 minutes tolerance).\
  Variables **YZ** do not apply if **X** (S/E) is not specified.
</Note>

<Info>
  In breaks generated by **Admicom** you may see an asterisk at the end, like `*23/36`, indicating scheduled **duration** and **amount**.\
  If an **exact start** break begins with a **Meteor** instruction, the **indicated error** may be larger than actual because Meteor times are **estimated**.
</Info>

**Examples (valid):**

/Tanda /08:15 SF5
/Tanda Our Children Program /22:30 SC
/Tanda /17:00 EC

***

## Random

`/RND,folder,n*prefix`

* Selects **n** random files from the **folder** (located in `\Audicom\Audio`).
* The **prefix** (optional) limits selection to names that **start** with those characters.

**Example:**

/Tanda /08:15 SF5
Ad-1
Ad-2
/RND,Spots,3\*XF
Ad-3

<Warning>
  **Random** does not use the Database or control **play history**. Repetition probability decreases with **more files** in the folder.\
  Titles generated by **Random** do **not** use **crossfade**.
</Warning>

<Note>
  `/RND` can also be used within **ExactTime**.
</Note>

***

## Time

`/Time /n`

**Current time** announcement.

* `/1` male voice
* `/2` female voice
* `/3` mixed

Parameter is **optional**. If not specified, uses the voice set in the on-air desktop **time button** (and **updates** it).

**Example:**

/Tanda /08:15 SF5
Ad-1
/Time
Ad-2

<Info>
  **Meteor** times in the schedule are **estimated**. The **/Time** announcement is built **on-air** at exact time; the estimation does **not** affect its actual trigger.
</Info>

***

## Temperature

`/Temp`

**Current temperature** announcement.

**Example:**

/Tanda /20:30
/Temp
Ad-1
Ad-2

***

## Humidity

`/Hum`

**Current humidity** announcement.

**Example:**

/Tanda /07:00
Ad-1
/Hum
Ad-2

***

## Pressure

`/Pres`

**Atmospheric pressure** announcement.

**Example:**

/Tanda BREAK-X /17:00 EF3
Ad-1
Ad-2
/Temp
/Pres

***

## Rainfall

`/Rain`

**Rainfall** announcement.

<Note>
  If rainfall is **zero**, the report is **not** aired (skipped).
</Note>

**Example:**

/Tanda /10:45 SF8
Ad-1
Ad-2
/Temp
/Pres
/Rain

***

## Complete Weather Report

`/Meteor`

Sequence: **time → temperature → humidity → pressure → rainfall** (if > 0).

**Example:**

/Tanda /00:00
Ad-1
Ad-2
/Meteor
Ad-3

***

## Comments

`; Comment`

Any line starting with `;` is interpreted as a **comment** and appears in **CyberPlay**.

**Example:**

/Tanda /09:15 SF1
Ad-1
;This is an example of a comment.
;There can be multiple comment lines.
Ad-2
/Time
Ad-3

***

## Pauses

`/Pause`

Inserts a **pause**. The system remains in **STOP** until the operator presses **Play**.

**Example:**

/Tanda Pause Command Example /13:30 ES3
Ad-1
Ad-2
/Temp
/Hum
; Program stays in Stop until Play
/Pause
Ad-3

***

## Text Pauses

`/Text [Name] /SSS`\
`(text lines...)`\
`(blank line)`

* Inserts **pause** with **text** shown in the **comments** window.
* `/SSS` is the **estimated time** (seconds) for reading (reference).
* Must end with **one blank line**.

**Example:**

/Tanda Demo Break /08:30 SC
Ad-1
Ad-2
Ad-3
; Text command follows
/Text /30
If text is typed directly in the window,
press Enter for line breaks when reaching the width.
If pasted from clipboard, it may remain in a single line.

Ad-4
Ad-5
Ad-6

***

## Chained Events

`@File1`\
`@File2`\
`@File3`\
`@File4`

* Chains up to **4 titles**.
* If **any** is missing, **none** will air.

**Example (news brief):**

/Tanda /12:00 SF5
/Time
Ad-1
Ad-2
@News Intro
@12 O'clock News
@News Outro
; If "12 O'clock News" doesn't exist,
; "Intro" and "Outro" won't air either.
Ad-3
Ad-4

<Info>
  Typical application: **automated news** with recorded intro, body and outro.
</Info>

***

## Regional

`/Regional`

* Sends a **control signal** to remote stations in **SatSlave** mode (GPIO).
* During break: **LPT Pin 4 = 1** (switch to satellite).
* At end: **LPT Pin 4 = 0** (return to local programming).

**Example:**

/Tanda Demo Break /08:30 SC
Ad-1
Ad-2
Ad-3
/Regional
Ad-4
Ad-5
Ad-6
