Skip to main content

Module: command_meta.one_of

Overview

Module

Provides /one-of command, to pick a random command from specified commands, and execute it.

Color Boxes

Example

◉ Pick a lucky command from specified command list, and then execute it.

Issue: /one-of say 1 one-of say 2 one-of say lucky %player:name%

Commands

Command
  • Command Syntax: /one-of <GreedyString rest>

  • Document: One-of command randomly pick one of commands and execute it as console.

  • Can be executed by console: true

  • Required Level Permission: 4

  • Required String Permission: null