$db->query("SELECT * FROM account_has_stats WHERE HoF_name = " . format_string($HoF_name, true) . " AND account_id <> {$account->account_id}");
    if ($db->next_record()) {
        create_error("Someone is already using that name!");
    }
    // set the HoF name in account stat
    $db->query("UPDATE account_has_stats SET HoF_name = " . format_string($HoF_name, true) . " WHERE account_id = {$account->account_id}");
} elseif ($action == "Yes") {
    $account_id = $var["account_id"];
    $amount = $var["amount"];
    // take from us
    $account->set_credits($account->get_credits() - $amount);
    // create his account
    $his_account = new SMR_ACCOUNT();
    $his_account->get_by_id($account_id);
    // add to him
    $his_account->set_credits($his_account->get_credits() + $amount);
} elseif ($action == "Change Timezone") {
    $timez = $_REQUEST['timez'];
    if (!is_numeric($timez)) {
        create_error("Numbers only please");
    }
    $db->query("UPDATE account SET offset = {$timez} WHERE account_id = " . SmrSession::$old_account_id);
} elseif ($action == "Change") {
    $account->images = $_REQUEST['images'];
    $account->update();
} else {
    if ($action == "Change Size" && is_numeric($_REQUEST['fontsize']) && $_REQUEST['fontsize'] > 50) {
        $db->query("UPDATE account SET fontsize=" . $_REQUEST['fontsize'] . " WHERE account_id = " . SmrSession::$old_account_id);
        $account->fontsize = $_REQUEST['fontsize'];
    } else {
        if ($action == "Alter Player") {