Hey,
I have had some problem with this.
Can anyone tell me how I could set a permission and a permission message with this code?
command /gmc:
trigger: if gamemode of player is creative:
send "&f[&bFireUHC&f] &9Your gamemode was already creative!" to player
if gamemode of player is survival,adventure or spectator:
set player's gamemode to creative
send "&f[&bFireUHC&f] &9Your gamemode was changed to creative!" to player
command /gms:
trigger:
if gamemode of player is creative,survival or adventure:
set player's gamemode to survival
send "&f[&bFireUHC&f] &9Your gamemode was changed to survival!" to player
if gamemode of player is survival:
send "&f[&bFireUHC&f] &9Your gamemode was already survival!" to player
command /gma:
trigger:
if gamemode of player is creative,survival or spectator:
set player's gamemode to adventure
send "&f[&bFireUHC&f] &9Your gamemode was changed to adventure!" to player
if gamemode of player is adventure:
send "&f[&bFireUHC&f] &9Your gamemode was already adventure!" to player
command /gmsp:
trigger:
if gamemode of player is survival,creative or adventure:
set player's gamemode to spectator
send "&f[&bFireUHC&f] &9Your gamemode was changed to spectator!" to player
if gamemode of player is spectator:
send "&f[&bFireUHC&f] &9Your gamemode was already spectator!" to player
This Skript has no errors but I cant figure out how to give a set permission and message!
Thanks,
- TheCringleYT
I have had some problem with this.
Can anyone tell me how I could set a permission and a permission message with this code?
command /gmc:
trigger: if gamemode of player is creative:
send "&f[&bFireUHC&f] &9Your gamemode was already creative!" to player
if gamemode of player is survival,adventure or spectator:
set player's gamemode to creative
send "&f[&bFireUHC&f] &9Your gamemode was changed to creative!" to player
command /gms:
trigger:
if gamemode of player is creative,survival or adventure:
set player's gamemode to survival
send "&f[&bFireUHC&f] &9Your gamemode was changed to survival!" to player
if gamemode of player is survival:
send "&f[&bFireUHC&f] &9Your gamemode was already survival!" to player
command /gma:
trigger:
if gamemode of player is creative,survival or spectator:
set player's gamemode to adventure
send "&f[&bFireUHC&f] &9Your gamemode was changed to adventure!" to player
if gamemode of player is adventure:
send "&f[&bFireUHC&f] &9Your gamemode was already adventure!" to player
command /gmsp:
trigger:
if gamemode of player is survival,creative or adventure:
set player's gamemode to spectator
send "&f[&bFireUHC&f] &9Your gamemode was changed to spectator!" to player
if gamemode of player is spectator:
send "&f[&bFireUHC&f] &9Your gamemode was already spectator!" to player
This Skript has no errors but I cant figure out how to give a set permission and message!
Thanks,
- TheCringleYT