Exemplo n.º 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");
   }
 }
Exemplo 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");
 }
Exemplo 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");
 }