Revisions for ⁨MyCommand Nested If⁩

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2022-02-26 16:34:02 UTC

pastefile1

@@ -0,0 +1,18 @@

+shop:
+  command: /shop
+  type: RUN_COMMAND
+  register: true
+  runcmd:
+  - $Script$%if%$arg1==warp # /shop warp
+  - /mvtp $player survivalshop
+  - $Script$%if%$arg1==help # /shop help
+  - $Script$%if%$arg1== # /shop help
+  - /shopHelp
+  - $Script$%else% # /shop help *
+  - /shopHelp $arg2
+  - $Script$%else% # /shop
+  - /shopHelpInfo
+  cost: 0
+  tab_completer:
+    - warp
+    - help
\ No newline at end of file