• 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.

Rothesz丶

Member
Jul 16, 2019
4
0
0
Skript Version: 2.3.7
Minecraft Version: 1.12.2

Full Code:
Code:
on command "/abcd":
    set {ISLAND_LEADER} to placeholder "mvdw_askyblock_team_leader_name" from player
    send "%{ISLAND_LEADER}%" to player
    if {ISLAND_LEADER} has permission "cd.lv2":
        send "2" to player
    if {ISLAND_LEADER} has permission "cd.lv3":
        send "3" to player
    if {ISLAND_LEADER} is the same as Rothes:
        send "Rothes123" to player
Errors on Reload:
Code:
can't understand this condition: '{ISLAND_LEADER} is the same as Rothes' (apg essentials.sk, line 9: if {ISLAND_LEADER} is the same as Rothes:')

Have you tried searching the docs?
Yes
Have you tried searching the forums? Yes,but I found nothing

%mvdw_askyblock_team_leader_name% is Rothes.
Player ran /abcd can receive “Rothes”
Rothes has permission "cd.lv2" and "cd.lv3"
but player ran this command doesn't receive "2" and "3",also "Rothes123"
How can I do this?
 
Status
Not open for further replies.