Chat command history
Today I built some structures, using [WorldEdit] to help speed up the process.
Still, progress was a bit slow because I had to type the chat commands over and over again.
Being able to press a button to go through a chat command history would have helped a lot.
I think remembering what a player said (if it started with "/") in a list and setting the text line in the chat window to the next or previous remembered entry whenever a certain key is pressed would suffice.
http://dev.minetest.net/minetest.regist ... at_message is the hook for chat messages.
How do you check if the chat window is open?
How do you react to a certain key being pressed when it is?
If I wasn't so tired and on my way to bed, I'd try and hack something together.
Maybe someone beats me to it, that would be great.
Anyway, good night for now.
Still, progress was a bit slow because I had to type the chat commands over and over again.
Being able to press a button to go through a chat command history would have helped a lot.
I think remembering what a player said (if it started with "/") in a list and setting the text line in the chat window to the next or previous remembered entry whenever a certain key is pressed would suffice.
http://dev.minetest.net/minetest.regist ... at_message is the hook for chat messages.
How do you check if the chat window is open?
How do you react to a certain key being pressed when it is?
If I wasn't so tired and on my way to bed, I'd try and hack something together.
Maybe someone beats me to it, that would be great.
Anyway, good night for now.