So Im making a plugin named EzPex to make pex much more user friendly and when i finished my code it gave me 27 errors all for indentation i checked my tabs are fine all semi colons are there etc this is my code
code_language.skript:
command /rank [<player>] [<text>]:
permission: Rank.Admin
permission message: &cRanks> Permission Denied
trigger:
if arg-1 is set
execute console command "pex user %arg-1% %arg-2%"
send "&aRank For %arg-1% Updated To %arg-2%"
send "&eYour Rank Has Been Updated" to arg 1
broadcast "&6%arg-1% Rank Has Been Updated To %arg-2%"
if arg-1 is not set
send "&cUsage: /rank <player> <group>"
cancel event
if arg-2 is not set
send "&cUsage: /rank <player> <group>"
cancel event
command /gprefix [<text>] [<text>]:
permission: Rank.Admin
permission message: &cRanks> Permission Denied
trigger:
if arg-1 is set:
execute console "pex group %arg-1% prefix %arg-2%"
send "&aPrefix Successfully Updated"
if arg-1 is not set:
send "&cUsage: /gprefix <group> <prefix>"
if arg-2 is not set:
send "&cUsage: /gprefix <group> <prefix>"
cancel event
command /uprefix [<player>] [<text>]
permission: Rank.Admin
permission message: &cRanks> Permisssion Denied
trigger:
if arg-1 is set:
execute console command "pex user %arg-1% prefix %arg-2%"
send "&aPrefix Successfully Updated"
if arg-1 is not set:
send "&cUsage: /uprefix <player> <reason>"
cancel event
if arg-2 is not set:
send "&cUsage: /uprefix <player> <reason>"
cancel event
command /addgroup [<text>]:
permission: Rank.Admin
permission message: &cRanks> Permission Denied
trigger:
if arg-1 is set:
execute console command "pex group %arg-1% create"
send "&aGroup Created"
if arg-1 is not set:
send "&cUsage: /addgroup <group>"
cancel event
command /delgroup [<text>]:
permission: Rank.Admin
permission message: &cRanks> Permission Denied
trigger:
if arg-1 is set:
execute console command "pex group %arg-1% delete"
send "&aGroup Removed"
if arg-1 is not:
send "&cUsage: /delgroup <group>"
cancel event
command /upermission [<player>] [<text>]:
permission: Rank.Admin
permission message: &cRanks> Permission Denied
trigger:
if arg-1 is set:
execute console command "pex user %arg-1% add %arg-2%"
send "&aPermissions Successfully Updated"
if arg-1 is not set:
send "&cUsage: /upermission <player> <permission>"
if arg-2 is not set:
send "&cUsage: /upermission <player> <permission>"
cancel event
command /gpermission [<text>] [<text>]:
permission: Rank.Admin
permission message: &cRanks> Permission Denied
trigger:
if arg-1 is set:
execute console command "pex group %arg-1% add %arg-2%"
send "&aPermissions Successfully Updated"
if arg-1 is not set:
send "&cUsage: /gpermission <group> <permission>"
cancel event
if arg-2 is not set:
send "&cUsage: /gpermission <group> <permission>"
cancel event