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

    else event, and no player/console in a periodical event error

    In fact, there's only one problem. You forgot to change %player% to %loop-player%. After you fix this problem, the next error will vanish automagically :)
  2. Nikd0

    I need help in making a random block generator

    Do you mean something like this? on right click on polished granite: loop all items: add loop-item to {_loop::*} remove bedrock from {_loop::*} give player a random item out of {_loop::*} Do not mind the polished granite, used just for testing :emoji_grinning: Okay... there...
  3. Nikd0

    Send message to a permission group

    Use variables like {test::%loop-player%} and try using else if {test2} is true: In the first part of your code you sent yourself message "test1", then you set {test2} to true, then you tested if {test2} is true (= it was) and because it was, it also sent you the message "test2"
  4. Nikd0

    I need help, I can't find something like this..

    Use this: on damage: push victim from attacker According to docs you need addon MorkazSk Also you can add with force %number% to adjust the push. More info here: https://docs.skunity.com/syntax/search/id:2684
  5. Nikd0

    Optional Parameters

    Skript doesn't give us such feature. Simply you're not able to do that in skript.
  6. Nikd0

    I need help, I can't find something like this..

    Do you mean something like this? on damage: push victim (attacker's facing) at speed 2
  7. Nikd0

    Solved How to ignore diacritics in a message?

    You can use on chat: if message contains "č", "ř", "ž", "š" or "ď": #etc... replace all "č" in message with "c" replace all "ř" in message with "r" #etc... or you can forbid using diacritics: on chat: if message contains "č", "ř", "ž", "š" or "ď": #etc...
  8. Nikd0

    Hello!

    Hello!
  9. Nikd0

    Solved Autofarmer

    I do not know if I fully understand you. What about using: #... if {custom::prefix::%Player%} = "&9[&bOutcast&9]": set {_cast} to random element out of carrots, wheat and potato set {_var} to random integer between 0 and 44 set slot {_var} of current inventory of player to {_cast}...
  10. Nikd0

    Need help

    There is also no need for "if arg-1 is set" if you're using "<>" in the command. I would suggest you using: command /punish [<player>]: #permission, aliases, ... trigger: if arg-1 is set: #your code else: send "You did not specify the player!"
  11. Nikd0

    Solved Need help

    Try to use on join: if {sethome.%player%} isn't set: set {sethome.%player%} to false #etc...