Search results

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

    Now, what are you waiting for? Join the community now!

  1. couger44

    Solved give and argument

    Try something like this: command /pay <number> <player>: trigger: if number of golden nuggets in the player's inventory >= arg 1: if distance between player and arg 2 < 5: send "§9Вы передали %{rpname.%arg 2%}% %arg 1% §9золотых" send "§9...
  2. couger44

    if player is in world "world3" error

    Did you tried?: on drop: if event-world is "world3": cancel event
  3. couger44

    Custom Commands Error

    Somethig like this? command /start: description: gives player the generator. permission: spawn.cube. permission message: Hey! Sorry but you're not in the right area to perform that command! Try again in our anarchy cube! trigger: execute console command "give %player%...
  4. couger44

    Chat system

    Put 'cancel event' before, not to put so much unnecessary code. on chat: cancel event set tab list name of player to "%coloured player's prefix%%player%" if player has permission "*": broadcast "%coloured player's prefix%%player%&f: &a&l%message%" stop #The others...
  5. couger44

    Fish aren't custom

    It depends on where you put the 'stop', try putting it here:on fish: if "%fishing state%" is "CAUGHT_FISH": if name of player's tool contains "&7Basic Rod": set {_size} to a random integer between 1 and 20 set {_fish} to a random integer between 1 and 5...
  6. couger44

    How to make a tab complete

    If I remember correctly, it was something like this: on chat tab complete: event-string is "/gm": add "creative" to {_gamemode::*} add "survival" to {_gamemode::*} add "adventure" to {_gamemode::*} add "spectator" to {_gamemode::*} loop {_gamemode::*}...
  7. couger44

    Fish aren't custom

    ? Try putting the 'stop' at the end of the code.
  8. couger44

    How to use PAPI placeholders in this code?

    That is a variable. There is no place where a placeholder can be used with the information you are giving to me. I recommend checking this if you want to see a list of placeholders: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
  9. couger44

    How to use PAPI placeholders in this code?

    You're welcome.
  10. couger44

    How to use PAPI placeholders in this code?

    I made a mistake, use this code, this should work: set {_sv} to placeholder "%%server_online%%" from {_p}
  11. couger44

    How to use PAPI placeholders in this code?

    A question, in the 'PLAYERS:' section, do you want to show the list of connected players on the server? If that's the case, you can use the expression %amount of all players%.
  12. couger44

    How to use PAPI placeholders in this code?

    Remove doubles %% (?) %server_online% EDIT: Ah srry, i thought that it was a expression. Try this: function updateBoard(p: player): set {_sv} to placeholder "server_online" setSlot({_p}, "Test", 4, "&7PLAYERS: &d%{_sv}%")
  13. couger44

    Solved I dont think i did this right... can someone help?

    Try: command /aach <string>: trigger: message "%player% has completed the challenge &5[%arg 1%]" to all playersIs this what you want?
  14. couger44

    Lots of issues...

    Regarding the first two problems, you cannot use quotes when you check a number argument. And that sentence is not adequate for what you are looking for. Try this: command /ammo [<integer>] [<integer>]: permission: guns.ammo trigger: if arg 1 is not set: message...
  15. couger44

    Custom Commands Error

    You have to make sure to use the corresponding tabs. Try this: command /start: description: gives player the generator. permission: spawn.cube. permission message: Hey! Sorry but you're not in the right area to perform that command! Try again in our anarchy cube! trigger...
  16. couger44

    Solved Water Kill

    Try: on walking on water: kill event-player
  17. couger44

    How can I add name and lore on a item?

    Oh, my bad. I forgot to add a ':' in the first condition of on damage event. command /perun: trigger: player has permission "perun.use": set {_golden.sword} to "&dRARE! &9PyramidSword" set line 1 of lore of {_golden.sword} to "&7Every &efourth &7strike...
  18. couger44

    How can I add name and lore on a item?

    Try: command /perun: trigger: player has permission "perun.use": set {_golden.sword} to "&dRARE! &9PyramidSword" set line 1 of lore of {_golden.sword} to "&7Every &efourth &7strike strikes" set line 2 of lore of {_golden.sword} to "&7your enemy...
  19. couger44

    How to determine clicked slot number in SkQuery GUI

    The skript only prints 'air' to you because the 'event-slot' verifies the item that is in the inventory you are viewing. Try with this: set {_slot.number} to index of event-slot send "%{_slot.number}%" This should send the slot number to you.
  20. couger44

    Disable commands on specific regions

    No problem. As I said earlier, I don't understand English perfectly nor its "idioms", so it's not your fault.