arg

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

    Creating and removing bound holo objects

    command /givenameholo [<player>] [<text>]: trigger: if player is op: if arg 1 is set: if arg 2 is set: create bound holo object "&e%arg-2%" with id "HoloName::%arg-1%" to arg 1 offset by 0, 3.2, 0 send "%arg-2% is now %arg-1%'s nickname." to player else: send "Type a nickname for the player." to...
  2. F

    Skript Creating and removing bound holo objects

    command /givenameholo [<player>] [<text>]: trigger: if player is op: if arg 1 is set: if arg 2 is set: create bound holo object "&e%arg-2%" with id "HoloName::%arg-1%" to arg 1 offset by 0, 3.2, 0 send "%arg-2% is...
  3. L

    please tell me about on command

    How can I prevent the removal of a specific player's op? on command "/deop": if ??? is "SLRKGT": cancel event message "not deop players"
  4. A

    How do I add arguments to a list?

    So I’m trying to make a friends list on my server (adding, removing, opening friend list, all that stuff), and I’m pretty sure I might be doing something wrong. I also want to figure out how to make each person have their own friends list. I’m just learning skript, so I’m going to make plenty of...
  5. I

    Solved Use arg-1 two times in two different event

    Hey, can you guys show me how do I use the arg-1 two times in two different event? Here is my code. So I want to use the arg-1 in a different event, but it isn't work. Can you write an example? This is just a test skript btw. options: item: stick named "&cTest" command /test...
  6. pokw

    How do I use Skript timestamp arguments?

    I was wondering on how to use the Skript timestamp arguments in a certain way. I looked this up and have found nothing on this and have been searching for a while now so I decided to go to the forums for help. Q: What does it look like to write out a timestamp when executing a custom command...
  7. L

    My %arg 1% comes back as <none>

    So.. I'm trying to create a Report GUI to be unique, and not generic like everyone else. You know, to make this mf pop! Here is my code : https://pastebin.com/SUn3G0En Here is the message that is comes out as : https://gyazo.com/40a9b99204b36cce5549af4ce6cd1625 There is no error in console, or...
  8. S

    Solved Killboard argument help

    Using this code command /killboard <text> <text>: permission: {@perms} trigger: if arg-1 is not set: message "&7&oPlease specify an argument!" message "&7&oEx: /killboard name SandyVerse" message "&7&oEx: /killboard add SandyVerse"...
  9. S

    Killboard argument help

    Using this code command /killboard <text> <text>: permission: {@perms} trigger: if arg-1 is not "add" or "remove" or "name" or "off": message "&7&oPlease specify an argument!" message "&7&oEx: /killboard name SandyVerse" message "&7&oEx...