Index: atcommand.c
===================================================================
--- atcommand.c (revision 16424)
+++ atcommand.c (working copy)
@@ -8580,6 +8580,19 @@
return 0;
}
+/*==========================================
+ * @donate
+ *------------------------------------------*/
+ACMD_FUNC(donate)
+{
+ struct npc_data *nd = npc_name2id("donate");
+
+ nullpo_retr(-1, sd);
+
+ npc_click(sd,nd);
+ return 0;
+}
+
/**
* Fills the reference of available commands in atcommand DBMap
**/
@@ -8590,6 +8603,7 @@
* Command reference list, place the base of your commands here
**/
AtCommandInfo atcommand_base[] = {
+ ACMD_DEF(donate),
ACMD_DEF2("warp", mapmove),
ACMD_DEF(where),
ACMD_DEF(jumpto),