Skip to content

Command sign

Philipp15b edited this page Apr 19, 2012 · 3 revisions

This is probably the most powerful sign: It can execute commands from text on the sign. It even supports nested macros!

Usage

  1. [Command]
  2. (Your command)
  3. (Your command)
  4. Optional: The price

Command Syntax

You write just normal commands like /help. If you want to use 2 or more commands on one sign, use &&, e.g. /makeuser && /makeadmin. This would execute both commands. Macros are enclosed within dollar characters ($). For example $MYMACRO$. They can also be used with other commands: /makemember && $MYMACRO$.

Placeholders

MagicSigns replaces some placeholders on the signs:

Name Desciption
%p The player's name.

Macros

Macros are abbreviations for long commands that dont fit on the sign. They can be defined in the MagicSigns configuration. See the Macro Tutorial.

Example

Command sign example

This command sign would execute /cmd1, /cmd and the macro MACRO. And it also has a price of 23.

Clone this wiki locally