summaryrefslogtreecommitdiff
path: root/src/emap/atcommand.c
diff options
context:
space:
mode:
authoracsvln <acsvln@disroot.org>2018-10-31 00:45:47 +0300
committeracsvln <acsvln@disroot.org>2018-10-31 00:45:47 +0300
commit5a732b6d4b6240f3cb8926ecdd3eef2201998bc5 (patch)
tree782b5fb29fea3815fdacd1c27e202daa77c71579 /src/emap/atcommand.c
parent6185c5ea25de645d17bb342e9637075f35212ff6 (diff)
downloadevol-hercules-5a732b6d4b6240f3cb8926ecdd3eef2201998bc5.tar.gz
evol-hercules-5a732b6d4b6240f3cb8926ecdd3eef2201998bc5.tar.bz2
evol-hercules-5a732b6d4b6240f3cb8926ecdd3eef2201998bc5.tar.xz
evol-hercules-5a732b6d4b6240f3cb8926ecdd3eef2201998bc5.zip
Implemented commands tee and log
Diffstat (limited to 'src/emap/atcommand.c')
-rw-r--r--src/emap/atcommand.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emap/atcommand.c b/src/emap/atcommand.c
index 32ed750..e7f97b3 100644
--- a/src/emap/atcommand.c
+++ b/src/emap/atcommand.c
@@ -235,6 +235,18 @@ ACMD1(mapExit)
return true;
}
+ACMD0(log)
+{
+ return true;
+}
+
+ACMD4(tee)
+{
+ clif->disp_overhead(&sd->bl, message, AREA_CHAT_WOC, NULL);
+
+ return true;
+}
+
// 100 - terminate all servers
// 101 - restart all servers
// 102 - restart char and map servers