Jump to content

xp69

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by xp69

  1. #skript made by xp69. Make sure to give Credit when Using!

    command /clearchat:
        permission: clearchat.use
        permission message: "&cYou do not have the Required Permission to Perform this Command!"
        trigger:
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            broadcast ""
            wait 5 ticks
            broadcast "&c&l(&r&aCLEARCHAT&c&l) &8- &r&b%player% has Cleared Chat!"

    -----------------------------------------------------------------------------------------------------

    i know this thing takes up a lot of space but i couldn't figure out how to repeat the ' broadcast "" ' (blank) times becuase it just says "&c&l(&r&aCLEARCHAT&c&l) &8- &r&b%player% has Cleared Chat!" (blank) times lol.

  2. I have this skript:

    --------------------------------------------------------------------------------------------

    command /vip:
        permission: vip.crate
        permission message: &cYou Must be &aVIP or &2VIP+ &cto Perform this Command!
        cooldown: 24 hours
        trigger:
            execute console command "/kit vip %player%"

    --------------------------------------------------------------------------------------------

    I have permissions exactly how they should, but for some reason this time it doesn't work. It wont show up in my permissions list. someone please help me and tell me why this is happening.

  3. 13 hours ago, e8p said:
    options:
        confirm: &7[&a!&7]
        deny: &7[&c!&7]
    command /setspawn:
        permission: op
        trigger:
            set {spawn} to player's location
            send "{@confirm} &aSpawn Set Successfully" to player
    command /spawn:
        trigger:
            teleport the player to {spawn}
            send "{@confirm} &6Entering Spawn..."
    command /setsafe:
        permission: safe.control
        trigger:
            set {safe.loc} to player's location
    command /safe:
        trigger:
            teleport the player to {safe.loc}
            send "{@confirm} &aYou have entered Safe Mode." to player
            set {safe.true} to true
    command /unsafe:
        trigger:
            if {safe.true} is false:
                send "{@deny} &6You can't leave something you are not in." to player
                stop
            if {safe.true} is true:
                teleport the player to {spawn}
                send "{@confirm} &6You have left safe mode." to player
                set {safe.true} to false

    coming back into skripting after like two years of not doing it but, this is what i came up with if you wanna learn something from it.

    the point of the post i had made was mainly with essentials where you create a warp and then whenever you use /safe is teleports you to that warp. and when you do /unsafe it sends you to spawn (with essentials). i also made it so that you're afk whenever you're teleported to safe.

  4. for some reason whenever i try to reload my skript, it says "Required entry 'trigger' is missing in 'command /rankshop' (rank.sk, starting at line 1)" but i have trigger. please someone tell me why this is happening

    Untitled.png

  5. ----------------------------------------------------------------------------------------------------------------------------------------------

    # made my xp69. please give credit when using! thanks! : ) if you have suggestions to make it better then please reply to my minehut post
    command /safe:
        trigger:
            execute console command "/warp [your safezone warp name] %player%"
            execute console command "/afk %player%"
            set {safe.true} to true

    command /unsafe:
        trigger:
            if {safe.true} is false:
                stop
            if {safe.true} is true:
                execute console command "/spawn %player%"
                execute console command "/afk %player%"

    ----------------------------------------------------------------------------------------------------------------------------------------------

    This Skript allows you to use /safe to teleport you to a certain warp (using essentials or a warp skript/plugin but i use essentials because it comes with warp.) You can also use /unsafe to teleport you back to spawn. It also sets you to afk (again use essentials or a afk skript/plugin. AGAIN i use essentials.)

    ----------------------------------------------------------------------------------------------------------------------------------------------

    example:

  6. 17 hours ago, Yo_The_pro19 said:

    So your command /prefix [<text>] [<text>]:

     

    Let's say your banning some one

    First, your text would have to be changed to player or offline player then use arg-1 or arg-2

    Examples

    Ban arg-1

    Execute console command "time set %arg-1%"

    give arg-1 apple named "&cArgument"

     

    To refer back to your argument in like a broadcast or a variable do %arg-1%

    Examples:

    send "&b%arg-1% is my first argument"

    Set {argument} to "%arg-1%"

     

     

     

     

    hope this helps

     

    i don't really understand. you were putting commands like time set arg-1 but you didn't tell me what the arg-1 is. another: you put ban arg-1 but that doesn't make sense, what is arg-1 and how do i set a certain thing to an argument? also again with my command:
    command /prefix [<text>] [<text>]:

    what would be arg-1 and what would be arg-2, etc. with my command?

  7. i'm learning skript, and i came across arguments: things like arg-1 and arg-2, etc. how do i use this? also i was looking at how do i use arguments but i found one but i couldnt understand it. if i use this:

    command /prefix [<text>] [<text>]:

    then what would be all the arguments? like [whatever] = arg-1 and [anything] = arg-2. please tell me this.

  8. # skript made by xp69. please give credit if using. thanks! : )
    options:
        Enabled: #put true or false. true= enabled false= disabled.

    on craft: 
        if {@Enabled} is true:
            cancel the event
            
        send "&cYou Aren't Allowed to Craft!" # you can change or delete this text. this is the text that appears if they try to craft.
        
        play sound "BLOCK_ANVIL_LAND" at volume 2 at pitch 1 to player
    # you can change the pitch and volume.

  9. # Made by xp69. Please Give Credit with this Skript!

    command /discord:
        trigger:
            message "              &bJoin the Discord!"
            message "&2<link:(discord link here)>                   &3&lCLICK ME!<reset>"

×
×
  • Create New...