Ejemplo n.º 1
0
 public boolean execute(MOB mob, Vector commands, int metaFlags) throws java.io.IOException {
   StringBuffer credits =
       new CMFile(Resources.buildResourcePath("text") + "credits.txt", null, true).text();
   try {
     credits = CMLib.httpUtils().doVirtualPage(credits);
   } catch (Exception ex) {
   }
   if ((credits != null) && (mob.session() != null) && (credits.length() > 0))
     mob.session().colorOnlyPrintln(credits.toString());
   else mob.tell("CoffeeMud is (C)2000-2010 by Bo Zimmerman");
   return false;
 }