Creare uno Script Semplice
Uno script semplice è un file di testo con un comando per riga. Consulta la sezione Comandi Interni o digita /help
nella console per visualizzare i comandi disponibili. Qualsiasi linea inizi con #
, viene ignorata e trattata come un commento.
Application variables defined using the set command or [AppVars] INI section can be used. The following read-only variables can also be used: %username%, %login%, %serverip%, %serverport%, %datetime%
Example
sample-script.txt
: Send a hello message, wait 60 seconds and disconnect from server.
# This is a sample script for Minecraft Console Client
# Any line beginning with "#" is ignored and treated as a comment.
send Hello World! I'm a bot scripted using Minecraft Console Client.
wait 60
send Now quitting. Bye :)
exit
Go to example scripts to see more example.
If you want need advanced functions, please see Creating Chat Bots