Hi everyone,
Welcome to another Skript Challenge! I did post a poll on the first Skript Challenge, and the vast majority of users who voted, liked Skript Challenges!
So here's the second one! If you have any suggestions for #3 or general improvements, let me know
This Skript Challenge is another number related one! Basically, you must turn numbers into their word versions. Example:
58654 -> 58 thousand, 6 hundred and 54 OR
58654 -> fifty-eight thousand, six hundred and fifty-four
Commas and string formatting isn't important, but extra points for making it pretty
The rules are as follows (note: rules may change between challenge):
- Your code must be in [code]<code>[/code] tags so that I can easily read it.
- You can use addons, but, you're not allowed to use a feature from an addon which does this (don't think any do) and the addon must of been released publicly prior to the creation of this thread. So not, you cannot use a feature like "output {_number} in word form" or whatever.
- You can use another user's code, but please don't edit your messages. I can see all message history and you'll not be counted at all. Remember: this one is about quality, not just length. So trying to cut variable names from someone elses code will lose points!
- WebAPI's or using an external source (outside of Skript), to get your result in not allowed. All submissions must actually do the conversions themselves.
Challenge details (specifics about this challenge):
- Your code must accept any length of number inputted from 0 to 999 million (if you can easily support higher, go for it).
- You do not have to message it back to the player
- It can be a function, command or just a block of code. Just explain where you're getting the input if it's not obvious to me.
How answers will be judged:
Unlike others, the winner for this one, will be judged based on quality. I and others (who I'm yet to pick), will go around and find the best answers. I'm not sure on the specifics of how the scoring will work, the final judgement and most other things, but I've got a week to figure that out!
Important
If you don't understand how your answer will be judged here is an explanation:
Better code quality = more points. I'm very anti-addon with some things. If you're using an addon for what can be done normally in Skript, then you're not Skripting right. Variable names, code structure, use of functions and code readability matters for this challenge. I'm specifically looking for the best code, not the smallest, but you shouldn't have code that is far too long, otherwise it's unlikely to be efficient.
The closing date is 7 days from now -> 16th of February, at 00:06 GMT! Have fun!
Welcome to another Skript Challenge! I did post a poll on the first Skript Challenge, and the vast majority of users who voted, liked Skript Challenges!
So here's the second one! If you have any suggestions for #3 or general improvements, let me know
This Skript Challenge is another number related one! Basically, you must turn numbers into their word versions. Example:
58654 -> 58 thousand, 6 hundred and 54 OR
58654 -> fifty-eight thousand, six hundred and fifty-four
Commas and string formatting isn't important, but extra points for making it pretty
The rules are as follows (note: rules may change between challenge):
- Your code must be in [code]<code>[/code] tags so that I can easily read it.
- You can use addons, but, you're not allowed to use a feature from an addon which does this (don't think any do) and the addon must of been released publicly prior to the creation of this thread. So not, you cannot use a feature like "output {_number} in word form" or whatever.
- You can use another user's code, but please don't edit your messages. I can see all message history and you'll not be counted at all. Remember: this one is about quality, not just length. So trying to cut variable names from someone elses code will lose points!
- WebAPI's or using an external source (outside of Skript), to get your result in not allowed. All submissions must actually do the conversions themselves.
Challenge details (specifics about this challenge):
- Your code must accept any length of number inputted from 0 to 999 million (if you can easily support higher, go for it).
- You do not have to message it back to the player
- It can be a function, command or just a block of code. Just explain where you're getting the input if it's not obvious to me.
How answers will be judged:
Unlike others, the winner for this one, will be judged based on quality. I and others (who I'm yet to pick), will go around and find the best answers. I'm not sure on the specifics of how the scoring will work, the final judgement and most other things, but I've got a week to figure that out!
Important
If you don't understand how your answer will be judged here is an explanation:
Better code quality = more points. I'm very anti-addon with some things. If you're using an addon for what can be done normally in Skript, then you're not Skripting right. Variable names, code structure, use of functions and code readability matters for this challenge. I'm specifically looking for the best code, not the smallest, but you shouldn't have code that is far too long, otherwise it's unlikely to be efficient.
The closing date is 7 days from now -> 16th of February, at 00:06 GMT! Have fun!
Last edited: