I guess it's kind of an indescriptive title, but I couldn't think of a better one... well, what I want to do is save the name of the item of a window to a variable. It should be something like this:
Well, that'd be for a Window_Command, I guess...
As a side note, it's a window with varying content (maybe that's why it's a Window_Selectable ^_^), just because it was mentioned in IRC...
Code:
variable = @window.commands[index]
As a side note, it's a window with varying content (maybe that's why it's a Window_Selectable ^_^), just because it was mentioned in IRC...