Table of Contents
π¬ Bot Actions
Actions are what your bot does after a trigger (and optional conditions). They are the results or responses that players see.
Info
You can click here to find out more about variables
π¬ Say Message
- Displays a message above the bot.
- Simple way to make bots talk.
- Example: βSay βHello traveler!ββ
π’ Broadcast
- Sends a message to all players in the world.
- Useful for announcements or timed events.
- Example: βBroadcast βThe shop is now open!ββ
π Show Dialogue
- Opens a dialogue box for the player.
- Can include longer text or story content.
- Example: βShow dialogue βWelcome to my quest!ββ
π Dialogue Menu
- Shows a menu with options the player can choose.
- Each option can lead to different actions.
- Example: βDialogue menu: Buy, Sell, Leave.β
β±οΈ Wait
- Pauses the botβs logic for a set time.
- Useful for pacing dialogue or sequences.
- Example: βWait 5 seconds β Say βAre you still there?ββ
π Give Item
- Gives an item from the botβs inventory to the player.
- Example: βGive item: Apple.β
π₯ Take Item
- Takes an item from the playerβs inventory.
- Example: βTake item: Ticket.β
π° Request Payment
- Asks the player to pay tokens.
- Often used with vendor or ticket bots.
- Example: βRequest payment: 10 ELPACO.β
π Set Variable
- Sets a bot variable to a specific value.
- Example: βSet variable score = 0.β
π² Set Random
- Sets a bot variable to a random number within a range.
- Example: βSet random between 1 and 10.β
β Increment Variable
- Adds 1 to a bot variable.
- Example: βIncrement score.β
β Decrement Variable
- Subtracts 1 from a bot variable.
- Example: βDecrement lives.β
π’ Add to Variable
- Adds a chosen number to a bot variable.
- Example: βAdd 5 to score.β
β Subtract from Variable
- Subtracts a chosen number from a bot variable.
- Example: βSubtract 2 from health.β
π€ Set Player Variable
- Sets a variable specific to the player.
- Example: βSet player coins = 0.β
π€β Increment Player Variable
- Adds 1 to a player variable.
- Example: βIncrement player score.β
π€β Decrement Player Variable
- Subtracts 1 from a player variable.
- Example: βDecrement player lives.β
π€π’ Add to Player Variable
- Adds a chosen number to a player variable.
- Example: βAdd 10 to player coins.β
π€β Subtract from Player Variable
- Subtracts a chosen number from a player variable.
- Example: βSubtract 5 from player coins.β
ποΈ Give Ticket
- Gives a ticket to the player.
- Example: βGive ticket for arena entry.β
π« Take Ticket
- Takes a ticket from the player.
- Example: βTake ticket after entry.β
π Teleport Player
- Moves the player to a different location in the world.
- Example: βTeleport player to coordinates (10, 20).β
π° Random Loot
- Gives the player a random item from the botβs inventory.
- Example: βRandom loot: Apple, Banana, Orange.β
π Leaderboard
- Increases a playerβs score on a leaderboard.
- Example: βLeaderboard increment: +1 point.β
π Show Leaderboard
- Displays the leaderboard to the player.
- Example: βShow leaderboard: Top 10 players.β
π End Execution
- Stops the current logic sequence.
- Useful for ending dialogue or preventing further actions.
- Example: βEnd execution after reward.β
Summary
Actions are the results of your botβs logic. You can:
- Make bots talk or broadcast messages
- Give or take items and tickets
- Request payments
- Control variables for bots and players
- Teleport players or give random loot
- Update and show leaderboards
- End logic sequences
Combine actions with Triggers and Conditions to create powerful interactive bots.
