Skip to content

Examples (BallsDex)

Dotsian edited this page Jan 16, 2025 · 3 revisions

Examples (BallsDex)

Warning

CarFigures uses different field names for their models. The examples below will not work with CarFigures. To see examples of DexScript used for CarFigures, visit the Examples (CarFigures) page.

CREATE

Creating a Northern Cyprus ball:

CREATE > BALL > Northern Cyprus

Creating an Ancient Corinth ball:

CREATE > BALL > Ancient Corinth

UPDATE

Changing a Roman Empire ball's credits:

UPDATE > BALL > Roman Empire > CREDITS > dotzz (Spawn & Card)

Changing a Troy ball's spawn art:

UPDATE > BALL > Troy > WILD_CARD

The spawn art should be attached to the message. As of right now, DexScript does not support links.

Changing an Ancient Sparta ball's attack:

UPDATE > BALL > Ancient Sparta > ATTACK > 150

Enabling an Ancient Athens ball:

UPDATE > BALL > Ancient Athens > ENABLED > True

REMOVE

Deleting a Parthian Empire ball:

REMOVE > BALL > Parthian Empire

Deleting a Latin Empire ball:

REMOVE > BALL > Latin Empire

VIEW

Displaying an Ancient Greece ball's health:

VIEW > BALL > Ancient Greece > HEALTH

Displaying a Cyprus ball's spawn art:

VIEW > BALL > Cyprus > WILD_CARD

Displaying a Kingdom of Cyrene ball's card art:

VIEW > BALL > Kingdom of Cyrene > COLLECTION_CARD

LIST

Displaying a list of fields a ball model has:

LIST > BALL

Clone this wiki locally