Page 1 of 1

[plugin] SeparateOptions

Posted: 29 Jan 2015, 20:21
by Jools
I made a package that adds the !mapoptions and !modoptions commands.

It's not 100% perfect: for some reason it misses some lines of the allowed values, althought the original !list bsettings doesn't.

The code used to generate the options is basically copied from the main spads module.

Would be maybe better to extend the functionality of the original function instead, it would be easy. Do you accept pull requests?

Re: SPADS AutoHost

Posted: 30 Jan 2015, 12:52
by bibim
Jools wrote:Would be maybe better to extend the functionality of the original function instead, it would be easy. Do you accept pull requests?
Yes of course, if I agree with the change :)
But in this case I will just make "!list bSettings" accept a new parameter which can take values "map","mod","engine". The change is very simple so I don't think it's needed.

You will then be able to add "!mapoptions" alias for "!list bSettings map" if you want for example.

Re: SPADS AutoHost

Posted: 30 Jan 2015, 16:47
by Jools
bibim wrote:
Jools wrote:Would be maybe better to extend the functionality of the original function instead, it would be easy. Do you accept pull requests?
Yes of course, if I agree with the change :)
But in this case I will just make "!list bSettings" accept a new parameter which can take values "map","mod","engine". The change is very simple so I don't think it's needed.

You will then be able to add "!mapoptions" alias for "!list bSettings map" if you want for example.
That's exactly what I was thinking about doing too :)

Re: SPADS AutoHost

Posted: 17 Feb 2015, 16:33
by bibim
bibim wrote:I will just make "!list bSettings" accept a new parameter which can take values "map","mod","engine".
Done in SPADS 0.11.24a.