📐 Sintaxe
Sintaxe do Logic Script
Operadores, palavras-chave, limites de execução e o que cada plano libera.
Operadores
| Op. | Description | Exemplo |
| + | Addition | 2 + 3 → 5 |
| - | Subtraction | 10 - 4 → 6 |
| * | Multiplication | 3 * 4 → 12 |
| / | Division | 10 / 2 → 5 |
| % | Modulo | 10 % 3 → 1 |
| .. | Concatenation | "Oi ".."Ayami" |
| == | Equal | |
| != | Not equal | |
| < | Less than | |
| > | Greater than | |
| <= | Less than or equal to | |
| >= | Greater than or equal to | |
| and | Logical AND | |
| or | Logical OR | |
| not | Negation | |
Reserved keywords
let
const
function
return
if
elseif
else
then
end
while
for
in
do
break
continue
on
import
export
from
and
or
not
true
false
nil
new
Sandbox Limits
| Limit | Value |
| Steps per run | 50 000 |
| Recursion depth | 200 levels |
| Total wait() per run | 30 000ms |
| Concurrent scripts per server | 20 |
| print() outputs per run | 200 lines |
| Log TTL | 7 days |
.logic files per plan See all plans at /premium
| Plan | .logic files | Functions per file | HTTP / Webhook / runFlow | /daily bonus |
| Free | 6 | 15 | ❌ Locked | - |
| New Star | 15 | 40 | ❌ Locked | 1.5x |
| Crescent Moon | 35 | Unlimited | ✅ Unlocked | 2.5x |
| Constellation | Unlimited | Unlimited | ✅ Unlocked | 3.5x |
"Functions per file" only counts function/export function declarations at the top level of the file (outside on(...) blocks). HTTP, Webhook, and runFlow() are unlocked from the Crescent Moon plan onward, calling them without the required plan throws an error explaining the minimum plan needed.