Does anyone know how to link this command:
to run /ptrialmod %player% for it to run the command cause it doesnt want to show the other gui and it says there are no errors.
This is other GUI:
I really dont know how to make them link up together, if anyone knows can you please help me out with this. Thank you all for your time.
Code:
command /punish [<player>]:
aliases: /pun
permission: server.punish
trigger:
if arg-1 is not set:
send "&cPlease Set A Player (/punish &fTC6&c)"
if arg-1 is set:
open chest with 3 rows named "&9&lSelect the staff role!" to player
wait 1 tick
format slot 10 of player with Blue Wool named "&9Trial-Mod" with lore "&7This can only be used by &9(Trial-Mod+)" to close then run [execute player command "/ptrialmod %player%"]
format slot 12 of player with Lime Wool named "&2Mod" with lore "&7This can only be used by &2(Mod+)" to close then run [execute player command "/nothing"]
format slot 14 of player with Green Wool named "&2Sr.Mod" with lore "&7This can only be used by &2(Sr.Mod+)" to close then run [execute player command "/nothing"]
format slot 16 of player with Red Wool named "&cAdmin" with lore "&7This can only be used by &c(Admin+)" to close then run [execute player command "/nothing"]
to run /ptrialmod %player% for it to run the command cause it doesnt want to show the other gui and it says there are no errors.
This is other GUI:
Code:
command /ptrialmod [<player>]:
permission: trialmod.punishment
permission message: &7This can only be used by &9(Trial-Mod+)
trigger:
if arg-1 is not set:
send "&cPlease Set A Player (/punish &fTC6&c)"
if arg-1 is set:
open chest with 3 rows named "Select punishment for %player%" to player
wait 1 tick
format slot 10 of arg-1 with Yellow Wool named "&e&lWarning 1" with lore "&7Swearing" to close then run [execute player command "/warn %player% message Chat Related"]
I really dont know how to make them link up together, if anyone knows can you please help me out with this. Thank you all for your time.