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 comminuty!

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

  1. Blue

    Skript gives wrong answer

    Hello, I have this script that should print "true" if there exists a country whose name starts with the letter "V", and "false" otherwise. The problem is, the script always broadcasts the wrong answer. Are there any countries whose names start with the letter "V"? How could I make it broadcast...
  2. Blue

    Discord Thread What is wrong with my current code?

    your format is the wrong way round the function turns 1m into 1000000 but you're asking it to turn 1000000 into 1m Posted by: bluelhf from the skUnity Discord.
  3. Blue

    Discord Thread How could I make this command so you can run "/pay {name} 1b" instead of "/pay {name} 1000000000"

    idk you left so i also left Posted by: bluelhf from the skUnity Discord.
  4. Blue

    Discord Thread How could I make this command so you can run "/pay {name} 1b" instead of "/pay {name} 1000000000"

    sure send the ip Posted by: bluelhf from the skUnity Discord.
  5. Blue

    Discord Thread How could I make this command so you can run "/pay {name} 1b" instead of "/pay {name} 1000000000"

    what's the version ? blce Posted by: bluelhf from the skUnity Discord.
  6. Blue

    Discord Thread How could I make this command so you can run "/pay {name} 1b" instead of "/pay {name} 1000000000"

    instead of arg-2 being an integer you'd use a text and then use rformat(arg-2) to convert it to a number applescript # blah blah command /pay whatever trigger: set {_amount} to rformat(arg-2) Posted by: bluelhf from the skUnity Discord.
  7. Blue

    Discord Thread How could I make this command so you can run "/pay {name} 1b" instead of "/pay {name} 1000000000"

    i think <@224021503908380672 hs function rformat(s: string) :: number: set {_s} to {_s} in lower case loop ("k|m|b|t|qa|qi|sx|sp|oc" split at "|"): add 1 to {_i} if {_s} partially matches "(\d|\.)(k|m|b|t|qa|qi|sx|sp|oc)" set {_z::*} to split {_s} at loop-value...
  8. Blue

    Discord Thread Parsing as integer makes conditions not work

    eh i bet it'll be fine i'm more concerned about how much work it takes to Write the parsing code shane has spent all this effort making a cool nbt system it'd be a shame not to use it :( Posted by: bluelhf from the skUnity Discord.
  9. Blue

    Discord Thread Parsing as integer makes conditions not work

    :DDDD Posted by: bluelhf from the skUnity Discord.
  10. Blue

    Discord Thread Parsing as integer makes conditions not work

    it doesn't go bigger sadly Posted by: bluelhf from the skUnity Discord.
  11. Blue

    Discord Thread Parsing as integer makes conditions not work

    look very closely at this bit in your code: "{_ammunition::1}" parsed as integer Posted by: bluelhf from the skUnity Discord.
  12. Blue

    Wie macht man Schriften mit /| zeichen

    Ein paar Dinge sind zu beachten: Dieses Forum ist für Tutorials zu Skript gedacht, nicht für Hilfe bei Problemen außerhalb von Skript. Die Mitglieder dieses Forums sprechen hauptsächlich Englisch - wir haben Mitglieder aus der ganzen Welt, und nur sehr wenige von ihnen sprechen Deutsch. Sie...
  13. Blue

    Good to hear :))

    Good to hear :))
  14. Blue

    Text generation AI

    Deep learning utilises multiple layers of "neurons" with some weighted connections to the next layer to convert a large input into a small output. What your script does is uses a probabilistic model to generate semirandom characters based on how often they appear in the input text. This doesn't...
  15. Blue

    Script Scrolls - Minor patch!

    Patched localisation (scroll-exists was previously unused, but is now in use).
  16. Blue

    Multiple args or command

    Use the String#equals and String#equalsIgnoreCase methods and the length of the argument array.
  17. Blue

    hi

    hi