ChatStaff icon

ChatStaff -----

/staff <text> to send a message to chat staff



Créé par Skols.
#======================
Code (Text):
#======================
#    Skript Basique   =
# Développé par Skols =
#    Version 1.0.0    =
#======================              

options:
    prefix: &f[&4Staff&f]
    cmd: staff
    permission: staff.send
    permreceved: staff.receved
    aliase1: cs
    aliase2: chatstaff

command /{@cmd} [<text>]:
    permission: {@permission}
    aliases: {@aliase1}, {@aliase2}
    trigger:
        if arg 1 is "help" or "Help":
            Send "&e---- &6Help&e -- &6Page &41&6/&41&e ----"
            Send "&6==== {@prefix}&6 ===="
            Send "&6/{@cmd} help&f : for help"
            send "&6/{@cmd} reload&f : Reloads the plugin"
            Send "&6/{@cmd} <Text>&f : talk in the chat staff."
            stop
        if arg 1 is "reload":
            make console execute command "/sk reload %script%"
            wait 10 ticks
            send "&a&aSuccessfully reloaded %script%"
            stop
        if arg 1 is set:
            loop all players:
                loop-player has permission "{@permreceved}":
                    message "{@prefix} &6> &6[&c%player%&6] &e: &a%arg%" to loop-player
                    stop
        if arg 1 is not set:
            send "{@prefix} &6> &fUsage /{@cmd} <Text>"
            stop
        else:
            send "{@prefix} &6> &cYou do not have the required permissions!"
Resource Information
Author:
----------
Total Downloads: 77
First Release: Mar 8, 2021
Last Update: Mar 8, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings