dUtilLib Ideas!
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
dUtilLib Ideas!
Hey guys
Me and Anthony are working on a script utility library meant to put a bunch of tedious tasks into one script package to make scripting a lot easier.
We're looking for procedural things mostly. things that just process data in a specific way for you where you throw in an argument and get something else back!
If you have any ideas for this library, please let us know!
Me and Anthony are working on a script utility library meant to put a bunch of tedious tasks into one script package to make scripting a lot easier.
We're looking for procedural things mostly. things that just process data in a specific way for you where you throw in an argument and get something else back!
If you have any ideas for this library, please let us know!
- Mwthorn
- User
- Posts: 46
- Joined: August 6th, 2016, 8:35 am
- Location: Roskilde, Sjælland, Denmark
- Contact:
Re: dUtilLib Ideas!
It would be good idea to include a link so we know what dUtilLib already has ;)
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
the best place to see what currently is already included would probably be on the github page: https://github.com/BlackCoyote/dUtilLibMwthorn wrote:It would be good idea to include a link so we know what dUtilLib already has ;)
- Mwthorn
- User
- Posts: 46
- Joined: August 6th, 2016, 8:35 am
- Location: Roskilde, Sjælland, Denmark
- Contact:
Re: dUtilLib Ideas!
I suggest something that either checks or filter out symbols so an element only contains letters from 'a-z' and '0-9' and maybe _ as well for friendly use in flags or other things (such as the colorcode dUtilLib)
Re: dUtilLib Ideas!
That is so dirt simple... I'll add it but once you see how easy it is you won't want to use the procedure script... you'll just want to do it directly...Mwthorn wrote:* SNIP *
We are the music makers, and we are the dreamers of dreams...
- mcmonkey
- Site Admin
- Posts: 299
- Joined: August 5th, 2016, 7:27 pm
- Location: Los Angeles, California, USA
- Contact:
Re: dUtilLib Ideas!
Can even do it in a single line using a regex :PAnthony wrote:That is so dirt simple... I'll add it but once you see how easy it is you won't want to use the procedure script... you'll just want to do it directly...Mwthorn wrote:* SNIP *
Denizen lead developer. On Discord as
mcmonkey#6666
.-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
Might still be worth adding just as a reference and example as to how it's used!Anthony wrote:That is so dirt simple... I'll add it but once you see how easy it is you won't want to use the procedure script... you'll just want to do it directly...Mwthorn wrote:* SNIP *
- mcmonkey
- Site Admin
- Posts: 299
- Joined: August 5th, 2016, 7:27 pm
- Location: Los Angeles, California, USA
- Contact:
Re: dUtilLib Ideas!
Yup ^BlackCoyote wrote:Might still be worth adding just as a reference and example as to how it's used!Anthony wrote:That is so dirt simple... I'll add it but once you see how easy it is you won't want to use the procedure script... you'll just want to do it directly...Mwthorn wrote:* SNIP *
In addition to linked and then used utilities, sample code is a great thing to have available.
Denizen lead developer. On Discord as
mcmonkey#6666
.Re: dUtilLib Ideas!
I love how this comment was made /after/ i posted the single regex line in irc.mcmonkey wrote:Can even do it in a single line using a regex :P
We are the music makers, and we are the dreamers of dreams...
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
JUST ADD ITAnthony wrote:I love how this comment was made /after/ i posted the single regex line in irc.mcmonkey wrote:Can even do it in a single line using a regex :P
also you should add those thingies that return a full list of colours and what not that you already had somewhere
- Mwthorn
- User
- Posts: 46
- Joined: August 6th, 2016, 8:35 am
- Location: Roskilde, Sjælland, Denmark
- Contact:
Re: dUtilLib Ideas!
This idea may sound a bit silly, but how about turning a text into a rainbow text?
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
consider it done :DMwthorn wrote:This idea may sound a bit silly, but how about turning a text into a rainbow text?
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
https://github.com/BlackCoyote/dUtilLib ... b53de56711
and there it is, thank you for the suggestion :)
and there it is, thank you for the suggestion :)
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!

10/10 best suggestion
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
WE NEED MORE IDEAS!
- Mwthorn
- User
- Posts: 46
- Joined: August 6th, 2016, 8:35 am
- Location: Roskilde, Sjælland, Denmark
- Contact:
Re: dUtilLib Ideas!
Recently I have experienced players done spelling mistakes and I want to correct their mistakes.
Examples with "/spawn" are: "/pawn" "/spawn%" "/spawn*" "/spa wn" "/spwatn"
A procedure that takes input as element-list and a element
This then should output an element, from the list, that is the closest element from the original.
Examples with "/spawn" are: "/pawn" "/spawn%" "/spawn*" "/spa wn" "/spwatn"
A procedure that takes input as element-list and a element
This then should output an element, from the list, that is the closest element from the original.
Re: dUtilLib Ideas!
There is already a tag that does thisMwthorn wrote:* SNIP *
<li@list.find_all_partial[<element>]>
Code: Select all
- define list 'li@spawn|home|town'
- narrate '<def[list].get[<def[list].find_all_partial[<context.command>].get[1]||1>]>'
We are the music makers, and we are the dreamers of dreams...
Re: dUtilLib Ideas!
I've put something together, but idk if I'm 100% satisfied with it. Thoughts?BlackCoyote wrote:also you should add those thingies that return a full list of colours and what not that you already had somewhere
We are the music makers, and we are the dreamers of dreams...
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
looks cool, add it!Anthony wrote:I've put something together, but idk if I'm 100% satisfied with it. Thoughts?BlackCoyote wrote:also you should add those thingies that return a full list of colours and what not that you already had somewhere
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: dUtilLib Ideas!
find_all_partial is kind of lacking when it comes to this. I have a buncho code somewhere that simulates server.match_player[] but with regular lists, i think this is what he would find more useful. I'll be adding it in.Anthony wrote:There is already a tag that does thisMwthorn wrote:* SNIP *<li@list.find_all_partial[<element>]>
Code: Select all
- define list 'li@spawn|home|town' - narrate '<def[list].get[<def[list].find_all_partial[<context.command>].get[1]||1>]>'
Who is online
Users browsing this forum: No registered users and 3 guests