Dispatch Command (Effect) — SkBee
Addon: SkBee · Category: Effect · Since: 3.10.0
Syntax
dispatch %commandsender% command %string% [with permission %-string%]Description
Similar to Skript's command effect, with the option to use any command sender (vs. being restricted to only player/console), and the option to temporarily attach a permission. The attached permission will only last for 1 tick, and automatically remove. This is not persistent.
Examples
dispatch player command "give %player% stick" with permission "minecraft.command.give"
dispatch (random element of all mobs) command "/tell %player% hi"