Adding command to title screen using base system and displaying its name

Hello everyone, I'm quite new to RPG maker and I have been toying around trying to understand the base system.

I'm aware that there are scripts out there that can help me create better title screens and that they are easy to import, but i want to add an extra command like an options command to the title screen. This way i can learn the base system and make adding new scripts to the base system easier for me in future.

Understand the vanilla code to modify the vanilla code easier you could say XD

I was able to get to this point after:

Adding in---- > def self.options; command(23); end # options < --- into the Vocab script

Adding in---- > add_command(Vocab:: options, : options) < --- into the Window_TitleCommand script in the (deff make_command_list) method

then ---- > @command_window.set_handler( : options, method( :command_options)) < --- to the Scene_title script and have it call a scene from this thread here (was easy to implement luckily)

and got this in the title:
Capture.PNG

and this when i click it:
Capture2.PNG


I am only missing the part where i add text to the empty field, does anyone know where i can do this? Thank you in advance

I've moved this thread to Script Support. Thank you.

add_command(Vocab:: options, : options)
Vocab:: options is wrong and this is the part that refers to what the text shown is.
You can change it to add_command("Options", : options) <- without the space of course after the colon.
Or you can add the constant Options to the Vocab script. Then all you need to be careful of is the spelling. Constants require the first letter to be capital. so it should say..
add_command(Vocab:: Options, : options)
To know what I mean look into the Vocab script near the top.
Thank you, I tried the option of just doing this ->add_command("Options", : options)<- and it worked.
Appreciate the help.

Original thread: https://forums.rpgmakerweb.com/threads/adding-command-to-title-screen-using-base-system-and-displaying-its-name.146589/