Jump to content

Recommended Posts

What should I make for skript, I'll publish it here also.

image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to post
Share on other sites

variables:
    {glow.mode.%player%} = "False"

command /glow:
    aliases: gl
    permission: glow.enable 
    trigger:
        if player does not have permission "glow.enable":
            message "&8&l[&bCheckup&8&l] &7Sorry you dont have permissions to use &cGlow"
            stop 
        if {glow.mode.%player%} is "False":
            message "&8&l[&bGlow&8&l] &7Glowing now enabled!"
            set {glow.mode.%player%} to "True"
            apply glowing to the player for 100000 seconds
        else:
            if {glow.mode.%player%} is "True":
                message "&8&l[&bGlow&8&l] &7Glowing now disabled!"
                set {glow.mode.%player%} to "False"
                remove glowing from the player

  • Like 1
image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to post
Share on other sites
On 3/29/2021 at 9:18 PM, Chloe30k said:

variables:
    {glow.mode.%player%} = "False"

command /glow:
    aliases: gl
    permission: glow.enable 
    trigger:
        if player does not have permission "glow.enable":
            message "&8&l[&bCheckup&8&l] &7Sorry you dont have permissions to use &cGlow"
            stop 
        if {glow.mode.%player%} is "False":
            message "&8&l[&bGlow&8&l] &7Glowing now enabled!"
            set {glow.mode.%player%} to "True"
            apply glowing to the player for 100000 seconds
        else:
            if {glow.mode.%player%} is "True":
                message "&8&l[&bGlow&8&l] &7Glowing now disabled!"
                set {glow.mode.%player%} to "False"
                remove glowing from the player

It shows the particles of the effects tho

«---------------------------------»

IGN | pizzaschut

Joined 14/9/2020

Rank PRO

Skripting experience 1.5 Years

«---------------------------------»

 

Link to post
Share on other sites

Be more specific please.

 

image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to post
Share on other sites
On 3/29/2021 at 3:18 PM, Chloe30k said:

variables:
    {glow.mode.%player%} = "False"

command /glow:
    aliases: gl
    permission: glow.enable 
    trigger:
        if player does not have permission "glow.enable":
            message "&8&l[&bCheckup&8&l] &7Sorry you dont have permissions to use &cGlow"
            stop 
        if {glow.mode.%player%} is "False":
            message "&8&l[&bGlow&8&l] &7Glowing now enabled!"
            set {glow.mode.%player%} to "True"
            apply glowing to the player for 100000 seconds
        else:
            if {glow.mode.%player%} is "True":
                message "&8&l[&bGlow&8&l] &7Glowing now disabled!"
                set {glow.mode.%player%} to "False"
                remove glowing from the player

bad skript

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

 

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Expirenced in Skript, Web Design, Java, Python. Check out my minehut api wrapper for python here.

Link to post
Share on other sites
On 3/29/2021 at 12:18 PM, Chloe30k said:

variables:
    {glow.mode.%player%} = "False"

command /glow:
    aliases: gl
    permission: glow.enable 
    trigger:
        if player does not have permission "glow.enable":
            message "&8&l[&bCheckup&8&l] &7Sorry you dont have permissions to use &cGlow"
            stop 
        if {glow.mode.%player%} is "False":
            message "&8&l[&bGlow&8&l] &7Glowing now enabled!"
            set {glow.mode.%player%} to "True"
            apply glowing to the player for 100000 seconds
        else:
            if {glow.mode.%player%} is "True":
                message "&8&l[&bGlow&8&l] &7Glowing now disabled!"
                set {glow.mode.%player%} to "False"
                remove glowing from the player

im no expert but aren't those nested variables?

Link to post
Share on other sites
On 4/1/2021 at 6:13 PM, GrapeAppleFruite said:

Can you make a script so when a player gets banned (using a custom command) they get teleported to a world?

Basically command like /wban the player gets ranked BANNED (LuckyPerms) and they then get sent to a selected position or world.

Link to post
Share on other sites
21 hours ago, landonhalley said:

This skript is currently running on my server and it is working perfectly im not sure how it is a "bad skript"

Just because it runs doesn't mean its good. It has unnecessary nested variables, using strings to instead of just using built in booleans, doesn't use permissions: but instead uses an conditional.

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

 

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Expirenced in Skript, Web Design, Java, Python. Check out my minehut api wrapper for python here.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...