Module:Command/Syntax: Difference between revisions

Use sub-tables for optional commands
Add setblock
Line 19: Line 19:
me = { "<''action''>" },
me = { "<''action''>" },
say = { "<''message''>" },
say = { "<''message''>" },
setblock = { "<''x''>", "<''y''>", "<''z''>", "<''tilename''>", { "<''datavalue''>", "<''oldblockHandling''>", "<''dataTag''>" } },
spawnpoint = { { "<''player''>", { "<''x''>", "<''y''>", "<''z''>" } } },
spawnpoint = { { "<''player''>", { "<''x''>", "<''y''>", "<''z''>" } } },
tell = { "<''player''>", "<''message''>" },
tell = { "<''player''>", "<''message''>" },