Пример #1
0
 /** Set the bot's locale */
 public void svcmd_locale(String[] args) {
   if (args.length > 2) fTestBot.setLocale(args[2]);
   else {
     Game.dprint("Usage: sv locale [<locale>]\nCurrent locale: " + fTestBot.getLocale() + "\n");
   }
 }
Пример #2
0
 /**
  * Set the bot's skin.
  *
  * @param args java.lang.String[]
  */
 public void svcmd_skin(String[] args) {
   if (args.length > 2) fTestBot.setSkin(args[2]);
   else Game.dprint("Usage: sv skin <skin-name> (example: male/grunt)\n");
 }
Пример #3
0
 /**
  * This method was created by a SmartGuide.
  *
  * @param args java.lang.String[]
  */
 public void svcmd_help(String[] args) {
   Game.dprint("Bot health: " + fTestBot.getHealth() + "\n");
 }