Rotonde / rotonde-client

Rotonde Base Client
https://client-neauoire.hashbase.io/
MIT License
227 stars 49 forks source link

Added help command #121

Closed kodedninja closed 6 years ago

kodedninja commented 6 years ago

I really miss the help-on-click from 0.1.6, so I've built one that fits the current version. The help command without parameters prints the existing commands.

I've also needed to change the home.log function, because the helps disappeared too fast, but you can use it without the life parameters too.

It's OK if it doesn't gets accepted. :D

0x0ade commented 6 years ago

Great work 👍 While going through your changes, I just noticed that the commands page, ++ and -- aren't listed in keywords. It'd be great if you could add those while you're already modifying that line (otherwise I'd introduce a merge conflict with my own PR 😅)

IMO it'd also be great if the variable got moved out of the function (this.keywords = [...] above the update function; access it in function via this.keywords) so that custom scripts (mods) can add their own keywords for custom commands more easily. That's another issue though :)

kodedninja commented 6 years ago

@0x0ade I'm on it 😄

neauoire commented 6 years ago

Very nice!!