Skript problem

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

ThinKz_

Member
Dec 15, 2021
3
0
1
18
options:
p: &a&lRGB

command /gmc:
permission: op
permission messasge: "{@p}: &cYou don’t have permission to do that!"
trigger:
set gamemode of player to creative
message "{@p}: &f&lYour gamemode is now &a&lCreative"
This is problem not work
 
command /gmc:
1 tab trigger:
2 tabs if player has permission "test.permission":
3 tabs set gamemode of player to creative
3 tabs send "&a&lRGB: &f&lYour gamemode is now &a&lCreative"

2 tabs else:
3 tabs send "&a&lRGB: &cYou don’t have permission to do that!"
3 tabs stop

:emoji_wink:
 
command /gmc:
trigger:
if player has permission "test.permission":
set gamemode of player to creative
"&a&lRGB: &f&lYour gamemode is now &a&lCreative"
"&a&lRGB: &cYou don’t have permission to do that!"

this okay??
 
command /gmc:
trigger:
if player has permission "test.permission":
set gamemode of player to creative
"&a&lRGB: &f&lYour gamemode is now &a&lCreative"
"&a&lRGB: &cYou don’t have permission to do that!"

this okay??

No, it has to be an else.
 
so do you know how to be right? to make it work?
[doublepost=1639647754,1639635845][/doublepost]send it as it should be
upload_2021-12-16_10-42-32.png
 

Attachments

  • upload_2021-12-16_7-24-2.png
    upload_2021-12-16_7-24-2.png
    312 bytes · Views: 95
command /gmc:
1 tab trigger:
2 tabs if player has permission "test.permission":
3 tabs set gamemode of player to creative
3 tabs send "&a&lRGB: &f&lYour gamemode is now &a&lCreative"

2 tabs else:
3 tabs send "&a&lRGB: &cYou don’t have permission to do that!"
3 tabs stop

:emoji_wink:
just use code box. [code ] (code) [/code ] (without spaces)
ex:
Code:
 code
 
Status
Not open for further replies.