I would like to propose adding this to the svn as a quick alternative to /guildbreak, because guild names with spaces are not supported anymore on newer clients.
Index: atcommand.c
===================================================================
--- atcommand.c (revision 16820)
+++ atcommand.c (working copy)
@@ -8817,6 +8817,26 @@
#undef MC_CART_MDFY
}
+/*==========================================
+ * works like /breakguild "<guild name>" (without the name though)
+ * This is needed for newer clients as an
+ * alternative to /guildbreak because support
+ * for " " in newer clients is dropped. [clydelion]
+ *------------------------------------------*/
+ACMD_FUNC(breakguild)
+{
+ struct guild *g;
+ nullpo_retr(-1, sd);
+
+ if (sd->status.guild_id == 0 || (g = guild_search(sd->status.guild_id)) == NULL || strcmp(g->master,sd->status.name)) {
+ clif_displaymessage(fd, "Only the guild leader can use this command.");
+ return -1;
+ }
+
+ guild_break(sd,g->name);
+ return 0;
+}
+
/**
* Fills the reference of available commands in atcommand DBMap
**/
@@ -8827,6 +8847,7 @@
* Command reference list, place the base of your commands here
**/
AtCommandInfo atcommand_base[] = {
+ ACMD_DEF(breakguild),
ACMD_DEF2("warp", mapmove),
ACMD_DEF(where),
ACMD_DEF(jumpto),
breakguild.diff