Créer un Script Simple
Un script simple est un fichier texte avec une commande par ligne. See the Internal Commands section, or type /help in the console to see the available commands. Toutes les lignes commençant par # sont ignorées et traitées comme un commentaire.
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).
Exemple
exemple-script.txt: Dire bonjour, attendre 60 secondes et se déconnecter du serveur.
# C'est un exemple de script pour Minecraft Console Client
# Les lignes commençant par "#" sont ignorées et traitées comme un commentaire.
send Bonjour ! Je suis un bot scripté grace à Minecraft Console Client.
wait 60
send J'y vais maintenant. Bisous :)
exitSee the example scripts folder for more examples.
If you need more advanced behavior, see Creating Chat Bots.
