1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ummm help?

Discussion in 'Skript' started by xCoini, Apr 19, 2019.

Tags:
Thread Status:
Not open for further replies.
  1. xCoini

    xCoini Member

    Joined:
    Apr 19, 2019
    Messages:
    14
    Likes Received:
    0
    Before I tell you my problem, apologize for my bad English. I use the Google Translator because I come from Germany and
    therefore i can not
    speak English, now my problem:

    So I wanted a "report" script
    So I started writing one
    the plugin script does not show me any errors
    Well, do you see any mistakes?
    I am new and hope for understanding

    command /Meldungen <player>:
    trigger:
    if player has permission "script.Meldung"
    message "&cDer Spieler &b%player% &chat &b%Meldungen% &cgemeldet."
    stop trigger
    else:
    send "&9Nicht ausreichend Rechte" to the player
    stop trigger

    command /Melde <player> <[reason]>:
    permission: Melde.script
    trigger:
    message "&cDer Spieler %player% wurde gemeldet." to the player
    add %player% %Meldungen% 1
    stop trigger

    command /eMeldungen <player>:
    permission: eMeldungen.script
    trigger:
    if player has permission "script.eMeldungen"
    message "&cDer Spieler %player% hat nun 0 Meldungen" to the player
    set %player% %Meldungen% 0
    stop trigger
    else:
    send "&cNicht ausreichend Rechte" to the player
    stop trigger

    It is German,
    Translation:
    Nicht ausreichend Rechte = Not enough Permissions
    Der Spieler = the player
    hat nun = has now
    Meldungen = reports
    wurde gemeldet = was reported
    Melden = report

    I am looking forward to your feedback!

    bye
     
  2. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Use code blocks. What specific part of it doesn't work? How do you know it doesn't work?
     
  3. xCoini

    xCoini Member

    Joined:
    Apr 19, 2019
    Messages:
    14
    Likes Received:
    0
    I forgot this part completely.
    Script just call me script a reason:
    attempting to perform this command
    I tried everything, nothing works!
    Which part does not work, I do not know.
    Looking forward to feedback!
     
  4. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Look at console, there could be errors there.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...