summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/script_commands.txt15
-rw-r--r--src/map/script.c13
2 files changed, 0 insertions, 28 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 5f2ccb3e5..90452751a 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -6286,21 +6286,6 @@ A debug message also shows on the console when no events are triggered.
---------------------------------------
-*cmdothernpc "<npc name>","<command>";
-
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ This command is deprecated @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-This command is deprecated and it should not be used in new scripts, as it
-is scheduled to be removed on or after December 2nd, 2014. Please consider
-using donpcevent() instead.
-
-This is simply "donpcevent <npc name>::OnCommand<command>".
-It is an approximation of official server script language's 'cmdothernpc'.
-
----------------------------------------
-
*npctalk "<message>";
This command will display a message to the surrounding area as if the NPC
diff --git a/src/map/script.c b/src/map/script.c
index aa8cadc50..3ed779fba 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -9441,18 +9441,6 @@ BUILDIN(donpcevent)
return true;
}
-/// for Aegis compatibility
-/// basically a specialized 'donpcevent', with the event specified as two arguments instead of one [RoVeRT]
-BUILDIN(cmdothernpc) {
- const char* npc_name = script_getstr(st,2);
- const char* command = script_getstr(st,3);
- char event[EVENT_NAME_LENGTH];
- snprintf(event, sizeof(event), "%s::OnCommand%s", npc_name, command);
- script->check_event(st, event);
- npc->event_do(event);
- return true;
-}
-
/*==========================================
*------------------------------------------*/
BUILDIN(addtimer)
@@ -19288,7 +19276,6 @@ void script_parse_builtin(void) {
BUILDIN_DEF(clone,"siisi????"),
BUILDIN_DEF(doevent,"s"),
BUILDIN_DEF(donpcevent,"s"),
- BUILDIN_DEF_DEPRECATED(cmdothernpc,"ss"), // Deprecated 2014-11-02 [Haru]
BUILDIN_DEF(addtimer,"is"),
BUILDIN_DEF(deltimer,"s"),
BUILDIN_DEF(addtimercount,"si"),