When a players logs on, I want to remove their permission to fix items in the world named "Factions" and then give it back to them in the worlds Towny and Skyblock, but testing for the permission "essentials.repair" doesn't return true if they have essentials.repair in factions.
code_language.skript:
on join:
if player has permission "essentials.repair":
execute the console command "pex user %player% remove essentials.repair"
execute the console command "pex user %player% add essentials.repair Towny"
execute the console command "pex user %player% add essentials.repair Skyblock"