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

    Solved Armor Stand Problem

    Hey, I have a problem: I placed an armor stand and with the following script I wanted to execute a command with it. But it doesn't work, why? Here is my code: Skript: on right click on a armor stand: send "test message" player's world = "world": send "test message" if...
  2. C

    Solved Simple Gui not working

    command /menu: trigger: open chest with 3 rows named "Menu" to player format slot 3 of player with book "format slot 3 of player with book" doesn't work. I have the plugins SkQuery and skRayFall
  3. D

    Script Vouchers! 1.0

    This Skript made by me is very useful! It allows you to create vouchers with the item you are holding and then edit the items you get by changing them in a GUI. You can also add commands that will execute when the player right clicks. Addons Needed (Pretty Sure): SkBee Usage...
  4. H

    Solved Help with list variables.

    I'm trying to make it so you can see the time you must wait to use a command again. I understand that you can use "cooldownmessage:" and %remaining time% for that, but it shows 2 decimal places. I want it to only show whole seconds. Here is the code that I tried. I cannot figure out why it does...
  5. C

    Run Linux command with Skript

    Hello, is there a way that i can execute Linux commands with Skript? I tested it already with skutilities and used: run script at "../proxys/proxy-01/start.sh" as code (To startup, it is not the only line) but its not working, every time it comes an Error up: [skUtilities] v0.9.2: Path...
  6. Jonathan Cohen

    Solved Skript Error

    I keep getting this error on the command "/player (mode)" Skript version: 2.2-dev36 Server version: 1.8.8 craftbukkit Code ----------------------------------- command /play [<text>]: executable by: players trigger: if arg-1 is set: if arg-1 is "solo_normal" or...
  7. I

    Solved custom message skript not working

    so i invented these things on my server called MinePhones. I want to make it so theres a text message app. Heres my code: command /minemsg <player> <text>: trigger: {latestmessage} = args 2 {recipient} = args 1 open virtual chest inventory with size 1 named...
  8. 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>...
  9. 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 :(
  10. 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...
  11. 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
  12. 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!
  13. 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...
  14. 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!
  15. 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>...
  16. 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!
  17. 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...
  18. 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...
  19. O

    Bungee command

    Hey How can i execute bungee command?
  20. 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...