• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

FireRoz

Active Member
May 28, 2020
133
6
18
actually im bad at skript just help
command /ban %{_player}%:
permission: ban
permission message: &cYou are not allowed to use this plugin.
trigger:
set {_player} to player
make player execute command "/tempban %{_player}% 1w Breaking rules"
broadcast "&aStaff has been banned &c%{_player}% &aFor reason: breaking rules"
 
Code:
command /ban <player>:
    permission: ban
    permission message: &cYou are not allowed to use this plugin.
    trigger:
        make player execute command "/tempban %arg-1% 1w Breaking rules"
        broadcast "&aStaff has banned %arg-1% &aFor reason: breaking rules"
 
Code:
command /ban <player>:
    permission: ban
    permission message: &cYou are not allowed to use this plugin.
    trigger:
        make player execute command "/tempban %arg-1% 1w Breaking rules"
        broadcast "&aStaff has banned %arg-1% &aFor reason: breaking rules"
i love people thank you very much
 
Please mark as Solved (Thread Tools -> Edit title -> add "Solved" Prefix)
 
  • Like
Reactions: FireRoz
Status
Not open for further replies.