SOLVED

Discussion in 'Skript' started by Engineous, Nov 28, 2019.

Thread Status:
Not open for further replies.
  1. So basically I'm trying to make a a Skript where if a player joins with the permission staff.join console will execute the command "/sbc &3 &b%player% &ajoined" and if a player leaves with the permission staff.leave console will execute the command "/sbc &3 &b%player% &cleft" So far Skript has been giving me errors and I'm not sure how to fix them. If someone could help me out that would be nice! Here is my code:
    Code (Text):
    on join:
        if player has permission "staff.join":
        make console execute command "/sbc &3[S] &b%player% &ajoined"

    on quit:
        if player has permission "staff.leave":
        make console execute command "/sbc &3[S] &b%player% &cleft"
    I'm using Skript version 2.4-beta10
     
    #1 Engineous, Nov 28, 2019
    Last edited: Nov 28, 2019
Thread Status:
Not open for further replies.