a complicated job system isn't working

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

gwyndoodle

Member
Feb 17, 2021
1
0
1
16
Skript Version (do not put latest): Skript 2.2 (dev20c)
Skript Author: me (minecraft username: hendoodle123)
Minecraft Version: 1.16.5
---
Full Code:

Command /promote <player>:
Permission: op
Trigger:
If arg-1's uuid is in {farmer::*}:
Remove arg-1's uuid from {farmer::*}
Add arg-1's uuid to {head_farmer::*}
Else if arg'1's uuid is in {police::*}:
Remove arg-1's uuid {police::*}
Add arg-1's uuid to {head_police::*}
Else if arg-1's uuid is in {builder::*}
Remove arg-1's uuid from {builder::*}
Add arg-1's uuid to {head_builder::*}
Else if arg-1's uuid is in {miner::*}:
Remove arg-1's uuid from {miner::*}
Add arg-1's uuid to {head_miner::*}

all the commands for putting uuids in the variables works but this has six issues and i cant make head nor tail of them as i am relatively new to skript
 
Status
Not open for further replies.