public void createBankAccount(CommandSender sender, String name, String player)
   {
     Bank bank = iConomy.getBank(name);
 
     if (!iConomy.hasAccount(player)) {
       Messaging.send(sender, this.Template.color("error.bank.account.none"));
       return;
     }
 
     Account account = iConomy.getAccount(player);
 
     if (bank == null) {
       Messaging.send(sender, this.Template.parse("error.bank.doesnt", new String[] { "+bank,+name,+b,+n" }, new String[] { name }));
       return;
     }
 
     int count = iConomy.Banks.count(player);
 
     if (((count > 1) && (!Constants.BankingMultiple)) || (!iConomy.hasPermissions(sender, "iConomy.bank.join.multiple"))) {
       Messaging.send(sender, this.Template.color("error.bank.account.maxed"));
       return;
     }
 
     if (bank != null) {
       double fee = bank.getFee();
       if (fee > account.getHoldings().balance()) {
         Messaging.send(sender, this.Template.color("error.bank.account.funds"));
         return;
       }
 
       if (bank.createAccount(player)) {
         account.getHoldings().subtract(fee);
 
         Messaging.send(sender, this.Template.color("tag.bank") + this.Template.parse("accounts.bank.create", new String[] { "+bank,+b", "+name,+n" }, new String[] { name, player }));
 
         if (count == 0) {
           iConomy.getAccount(player).setMainBank(bank.getId());
         }
 
         return;
       }
       Messaging.send(sender, this.Template.color("error.bank.account.failed"));
     }

   }