notice(s_GameServ, u, "Fatal error. Contact a(n) %S admin. buf: %s", strtok(NULL, ""));
return;
}
- else if (!(battle = findbyrealnick(nick)))
+ else if (!is_playing(ni))
{
- notice(s_GameServ, u, "You can't attack %s while they aren't playing!", nick);
+ notice(s_GameServ, u, "You are not playing!");
return;
}
- else if (!is_playing(ni))
+ else if (!(battle = findplayer(nick)))
{
- notice(s_GameServ, u, "You are not playing!");
+ notice(s_GameServ, u, "You can't attack %s while they aren't playing!", nick);
return;
}
/*
// Initiate Battle sequence!
notice(s_GameServ, u, "You challenge %s to an online duel!", battle->stats->name);
notice(s_GameServ, battle->getNick(), "%s has challenged you to an online duel!", ni->stats->name);
- notice(s_GameServ, battle->getNick(), "%s gets to go first because he initiated!", ni->stats->name);
+ notice(s_GameServ, battle->getNick(), "%s gets to go first "\
+ "because they initiated!", ni->stats->name);
notice(s_GameServ, battle->getNick(), "Please wait while %s decides what to do.", ni->stats->name);
display_players(u);
}