command

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

  1. TenToTu Sho

    Execute a command as entity/at location

    Hello everyone, so I would like to code something in that can execute a worldedit command at a specific location. I tried summonning a sheep and running it as the last spawned entity, but that didn't work. Is there any way to do this? Thanks. This is the code i used: command /sheepedit <text>...
  2. A

    Solved Is simple for you, probably.

    Hello! Someone know a skript who can execute a specific command every 2 minutes (COMMAND NEED TO BE EXECUTED BY CONSOLE) in a specific world? I want help, i'm new at coding. :) Please help me someone :(
  3. L

    /buy command

    Category: Shop Suggested name: shop command Spigot/Skript Version: latest What I want: When i do /buy (Item name) it will take the money from my balance and give me the item(with commands if possible). If I don't have the amount, it will simply message me that I don't have enough. No GUI...
  4. KingDooms

    Make a command execute a command

    So, i have a RPG server where i want people to do /start to start the server, but i dont know how to make them give a rank(By PermissionsEX) that doesn't let them use /start anymore
  5. S

    Solved CPS command

    Hello! I urgently need a command skript for a pvp server. The command should be /cps <player> and it should tell me the clicks per second of the player listed. Thanks!
  6. FusionCore

    /promote <player> [<arg 2>]

    command /promote [<player>] [<arg 2>]: permission: op trigger: player is set: arg 1 is set: arg 2 is set: if arg 2 is "default": if {default::*} contains %arg 1%'s uuid: send "&b%arg 1% already has this rank!" to player if...
  7. NotNinjaTalon

    Solved Disallow CMD but allow it if arg is after

    Hello, I'm trying to make a skript so that it cancels/blocks the command "/is" but I still want it to allow the command if args are set afterwards so players can do things such as /is (upgrades|help) etc. Hope someone can help out, thanks!
  8. C

    Solved Command List Scenarios(Text)

    Category: UHC Spigot/Skript Version: PaperSpigot 1.8.8-R0.1-Snapshot, Skript: 2.2 dev 36 What I want: Ok so, I run a server and host games frequently but players keep wanting to know what game modes the game is each time (different all the time). I need something where I do /scenadd <scen1>...
  9. I

    Run command random times

    Hi all! I want run a command random times (between 1-60 minutes). How do I start this code? Thanks in advance for the answers! Sorry for my bad english! I'm a beginner skript writer. Have a nice day!
  10. T

    Solved Loop players in world *argument*

    loop all players in "%arg 1%": loop {@Lines} times: broadcast "" broadcast "{@Prefix} {@Chat cleared message}" I have a command with an argument so I can clear the chat in a specific world. However, when I reload the skript it says "%arg 1% is...
  11. jonu14

    Cancel Event; Command

    Hi, I'm currently working on my new script, however, I don't get on with this part; As you can see, I'm German, so the text is also German, but hopefully that will not stop you from recognizing the mistake c: first if-condition: Shows the player, how many warns he already has. second...
  12. O

    Bungee command

    Hey How can i execute bungee command?
  13. T

    Function cant compare passed text to "string"

    i am trying to make chatcolor but there is some error in the function i have when i am trying to compare a argument passed to the function with text the argument is passed as text would be nice if anyone can help me ty Skript: newest 2.3 function Error: Can't compare "%{_c}% with a text (if...
  14. T

    Help skript statements with command thing pls

    Hey can anyone tell me how to do this? command /trap <player>: trigger: set {_player} to arg 1 set {trapped._player} to false i want a command to untrap but when they are trapped they can not break blocks but when untrapped they can break blocks again.
  15. T

    Solved Help with skript arguments reference

    Hey people, I am writing a skript for my server, to make a system with which you can trap players in a cage. However, it doesnt work. Can someone please help me? (The problem is that it doesnt recognice the player reference / the location of the player but i dont know what to use i tried...
  16. R

    Block remove skript

    I need a skript that prevents command signs from being placed
  17. Runakai

    Solved Skript ignores Command

    Hello! I was coding a Ontime skript. As soon as the Command is underneath everything, skript just ignores it. on join: if {ontime.Sekunde.%player%} is not set: set {ontime.Sekunde.%player%} to 0 if {ontime.Minute.%player%} is not set: set {ontime.Minute.%player%} to 0...
  18. D

    Solved Custom Command has no output

    My problem is that when i use /number with the create arguement, the command returns nothing and it doesn't set a number for me. Skript Version: 2.2-dev34 Skript Author:Bensku Minecraft Version:1.12.2 --- Full Code: i removed the skript because someone already stole it in 1 day. Errors on...
  19. L

    Issue Getting Commands To Execute Using GUI Items

    So, this is an issue I've come across multiple times working on different commands and projects, and each time I would just shelve this part for later thinking it was just some syntax or wording errors I had in the codes, but at this point I've tried every different phrasing and syntax and...
  20. Duetro

    Script SkriptEnhanced 2.07

    Enhanced error output: Read the file and find the mistake ingame! Autocomplete for Skript: Autocomplete for scripts even in subdirectories! Better colors: Can be partially disabled! Backup System: Create a backup of all scripts withhin milliseconds! Update System: Check...