RPCC/Example/CommandExample

= Command Example =

The following is a Blank Command.

** means Required Option

``` config.Commands["Example"] = { // name of command ** delay = 1, // Delay between each chat message (in seconds) ** cooldown = 60, // Cooldown between use of command (in seconds) color = Color(255, 69, 255), // Color of chat message ** hide = true, // Hide the command on the Datapad allowedCatergory = { // Categories that can use this command ["Civillian"] = true, },   allowedRank = { // Ranks that can use this Command ["superadmin"] = true, },   allowedJob = { // Jobs that can use this command ["Hobo"] = true, },   map = { // Maps that this command is enabled ["rp_downtown_tits_v1"] = true, },   steps = { ** {"Say", "Hello plyName"}, {"Say", "This is a chat Command"}, {"Delay", 5}, {"Door", 190, "Open"}, {"Say", "You are a plyJob"}, } } ```

For more info about steps check out the

When making a command make sure to put it inside `roplaychatcommand-main/lua/rpcc/rpcc_config.lua`