Создание простого скрипта
Простой скрипт это текстовый файл с одной командой в каждой строке. See the Internal Commands section, or type /help in the console to see the available commands. Любая строка, начинающаяся с # игнорируется и рассматривается как комментарий.
Application variables defined with the set command or in the [AppVars] config section can be used. The following read-only variables are also available: %username%, %login%, %serverip%, %serverport%, %datetime%, %players% (%players% expands to the current online player names separated by commas, or an empty string when not connected).
Пример
sample-script.txt: Отправить приветственное сообщение, и отключиться от сервера через 60 секунд.
# Это пример скрипта для MCC
# Строки, которые начинаются с "#" игнорируются и считаются как комментарий.
send Привет мир! Я бот, созданный по сценарию с использованием Minecraft Console Client.
wait 60
send Теперь выхожу. Пока :)
exitSee the example scripts folder for more examples.
If you need more advanced behavior, see Creating Chat Bots.
