User Tools

Site Tools


bots:program

📜 Bot Program

The Program Tab is where you design your bot’s behavior. Using a visual programming interface, you can combine triggers, conditions, and actions to create interactive logic.


🖥️ Visual Program Interface

- Build your bot’s behavior using drag‑and‑drop blocks.
- Each block represents a trigger, condition, or action.
- Blocks can be reordered to change execution flow.
- Saved programs become the active logic for your bot.


🌐 Template Management

- Community Template Library – Browse and use templates shared by other players.
- My Templates – Save your own logic for reuse.
- Pre‑made Templates – Quick start bots such as Greeter, Vendor, Ticket Booth, Quiz Master, Guard, Item Collector.
- Save / Export / Import – Manage your templates across different worlds or bots.


🧩 Programming Blocks

Bot logic is built from three block types:

  • Triggers – Events that start logic (e.g., player clicks, timer, proximity).
  • Conditions – Checks that decide what happens next (e.g., has item, random chance).
  • Actions – Results that bots perform (e.g., show dialogue, give item, teleport).

Blocks can be nested to create if/else logic. For example: “When player clicks me → If player has item → Show dialogue ‘Thanks for the gift!’ → Else → Say ‘You don’t have the item.’”


⚙️ Editing Blocks

- Each block has Edit and Delete options.
- Editing changes the block’s parameters (e.g., item type, dialogue text, radius).
- Conditions include IF TRUE and ELSE sections, allowing different actions depending on the outcome.
- Use the ➕ button to add child actions under conditions.


Summary

The Program Tab is the heart of bot customization. You can:

  • Build logic with triggers, conditions, and actions
  • Save and share templates
  • Edit blocks to fine‑tune behavior
  • Create bots that interact, trade, and respond dynamically

Next: explore the block reference pages – Triggers, Conditions, and Actions – to learn what each block does.

bots/program.txt · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki