Spell info command
Shanghai- opened this issue ยท 10 comments
I think that a typed command like /s info would work. It would give info on the selected spell.
how about /spellinfo (less likely to have conflicts) with an optional argument for spell name (if you want a different spell)?
I've been thinking that it might be a good idea to abstract any action you can take in spells (from the user's point of view) and allow it to be accessed via commands as well. This would make it easier for people to setup hotkeys, or just do some things (like scrolling backwards) that we can't accommodate all the controls for right now.
Thoughts?
that's an excellent idea. I'll implement it immediately. I finished the spellinfo command btw.
I'm going to make spell names non case sensitive, to make it easier for people to use commands.
The commands are working well and are almost done. Currently I have the following commands:
- /spellinfo - displays the current spell's description or an arbitrary spell, if an argument is provided.
- /next - makes the player select the next spell/group and display its name
- /goin - makes the player go into the currently selected group.
- /goout - makes the player go out of the current spell group.
- /cast - makes the player cast the currently selected spell.
- /currentlyselected - tells the player the name of the currently selected spell/group.
- /select - selects the spell provided as the first argument.
All of these commands have the appropriate error messages, such as the console trying to use them. Again, many of the names are awful and Josh suggested making every command start with /spells, which I think sounds like a good idea. What would be better names? Any other thoughts?