From 0fbc0fc546fecf5284b9096ce4b20e1057701c4c Mon Sep 17 00:00:00 2001 From: OliverSchlueter Date: Fri, 16 Feb 2024 22:02:40 +0100 Subject: [PATCH] Update playerCommand syntax --- Writerside/topics/FN-Commands.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Writerside/topics/FN-Commands.md b/Writerside/topics/FN-Commands.md index 208168c..3e35361 100644 --- a/Writerside/topics/FN-Commands.md +++ b/Writerside/topics/FN-Commands.md @@ -166,8 +166,12 @@ Placeholders: ## playerCommand -Description: Changes the command that the player executes when interacting with the npc
-Syntax: ``/Npc playerCommand (npc name) ('none' | message ...)``
+Description: Changes the commands that the player executes when interacting with the npc
+Syntax: ``/Npc playerCommand (npc name) add (playerCommand)`` - adds a new command
+Syntax: ``/Npc playerCommand (npc name) set (index) (playerCommand)`` - sets a command at an index
+Syntax: ``/Npc playerCommand (npc name) remove (index)`` - removes a command at an index
+Syntax: ``/Npc playerCommand (npc name) clear`` - removes all commands
+list
Permission: ``FancyNpcs.npc.playerCommand`` or ``FancyNpcs.npc.*``
Placeholders: