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

    Solved Shuffle a list

    remove what? and the shuffled - effect does not work for me (already tried). It sorts my list instead of shuffling it ... this is a bug which is fixed in a newer version of skript. But I am unable to update atm because of other bugs in newer versions
  2. pepper82

    Solved Shuffle a list

    Hi there, I am trying to script a simple list shuffling function but for some reason it is not working and I hope somebody could post a sample script for this. loop {_list::*}: set {_ob} to a random object out of {_list::*} add {_ob} to {_shuffledlist::*} remove...
  3. pepper82

    How to change GUI name / title?

    None of these options work: Yes I am using benskus fork (Loading Skript v2.2-dev32d) EDIT: well this code works set inventory name of player's current inventory to "whatever" BUT only once. After executing this code I am able to bug items out of the gui.
  4. pepper82

    Addon TuSKe - Custom Enchantments, GUI Manager and more!

    Is there any way to set the name of a currently open gui in a function? make a gui slot {_i} of {_p} with redstone named "%{_debug}%" to run function openVoteBox(player, {_i}, {_maxcash}) using "left" click and in openVoteBox I want to set the GUI's new name. How?
  5. pepper82

    How to change GUI name / title?

    here the code: skellett open "CHEST" with 5 rows named "&6TEST" to player ... make a gui slot {_i} of {_p} with redstone named "%{_debug}%" to run function openBox(player, {_i}, {_maxcash}) using "left" click and the effect in the function I already posted. Trying to format stuff in a GUI
  6. pepper82

    How to change GUI name / title?

    Not sure if it is Tuske or Skellett?
  7. pepper82

    How to change GUI name / title?

    Thanks but it does not work. No error though. I make the gui slot like this: make a gui slot {_i} of {_p} with redstone named "%{_debug}%" to run function openBox(player, {_i}, {_maxcash}) using "left" click and in the function openBox I tried this: set name of {_p}'s current inventory to...
  8. pepper82

    How to change GUI name / title?

    Hi all, how would I change the name of the player's currently open inventory?
  9. pepper82

    How to access a skript global variable from "outside" ?

    Ok thanks. We were able to get it to work except that we have some strange issues (strange characters?) in the output: This is the list variable that we read using the following java code: String variable = args[1]...
  10. pepper82

    How to access a skript global variable from "outside" ?

    ok :D DO you know what value (event) the getvariable function needs? https://github.com/bensku/Skript/blob/03f5f47a32ff9a25860a3be43688e460053fb880/src/main/java/ch/njol/skript/variables/Variables.java#L277 getVariable(final String name, final @Nullable Event e, final boolean local) { What is...
  11. pepper82

    How to access a skript global variable from "outside" ?

    Hi all, can anybody tell me how to access a global variable (example: {test}) from another java plugin? Is it possible? Somebody has an example? Always wanted this to know. Thanks a bunch!
  12. pepper82

    How to get the attacker?

    No, basically I would like to know HOW to set the attacker with Skript. Because when you shoot a fireball oder wither skull with some self scripted effects there will be no attacker in the "on damage" event.
  13. pepper82

    How to get the attacker?

    Hi all, assuming a player casts spells like fireball or something like that and the victim dies because of a fireball. How would you get the attacker in the "on damage" or "on death" event, because default it's empty?
  14. pepper82

    How to get the name of a disguised player?

    Some of you may know the plugin "LibsDisguise". You can disguise a player as a zombie for example. But in the on death event, skript does not tell you the name of the player if he died: on death: set {_a} to the attacker broadcast "%{_a}%" result ist <none> if the attacker is disguised...
  15. pepper82

    Disguise issue (not working in functions) ?

    Ok I dont get it ... could you please post an example? it just does not work for me.
  16. pepper82

    Disguise issue (not working in functions) ?

    function EventSpawnMonster(id: text, p: player): set {_disguise} to new disguise with type ZOMBIE with username "&cMONSTER" set disguise of {_p} to {_disguise} Trying to reload that script throws an error: Any ideas how to fix?
  17. pepper82

    How to avoid huge .sk files?

    Hi all, while scripting a huge event plugin / skript I see my script file growing and growing. At some point it gets confusing. What would you recommend to do in order to keep the script file clear and easy to read and to keep reloading time of the script as short as possible? At this time I...
  18. pepper82

    Addon skript-npc

    Plugin breaks Skellett (another skript addon) when both are enabled on the server: https://hastebin.com/ugajoxezif.vbs
  19. pepper82

    Addon skript-npc

    Nice little addon! But this is not working or am I doing something wrong? set {_x} to citizen of targeted entity set {_id} to id of {_x} message "{@pre} Citizen ID: %{_id}%" result is <none> And how do you STOP the NPC to follow a...
  20. pepper82

    Addon Skellett - The beast addon!

    Is it working for you then?