Using notes to set (long) item description

Hello~
So, I know that requests for a longer description have been all around the internet already, but I can't seem to find a solution to my problem.

Basically, I've edited the line number Window_Help to show 4 lines.
But the engine doesn't support 4 lines in the description box...
So I've found this: https://forums.rpgmakerweb.com/index.php?threads/bigger-item-description-window.80584/#post-750071
Now I can simply enter the text in the notebox for it to make the description.

However, the problem is just as Sixth mentioned in the post below: I will use the notebox for other things, not only description...
So it ends up getting some lag since there are text below it (that will not even show in the description at all!)

So, my request is: is it possible to make the help window ignore any text past 4 lines? Or to only show text that is inside a notetag?
make a module in a script slot, load all the strings in there, and add a note tag that leads to it.

Code:
module Item_DSC
Item01 = "string"
Item02 = "another string."
Item03 = "a roughly longer string."
end

class RPG::BaseItem
alias initialize orig_init
def initialize
   orig_init
   @description = self.desc_method
end
def desc_method
   if self.note ~= /'Description[\s]*=[\s]*(\w)*\.'/i
    return eval($1)
   else
    return ""
   end
end
end

where each item's description would be
Code:
Description = Item_DSC::ItemXX
with that structure, Description, =, name-of-the-module, ::, searchstringXX, where XX is the index.
one line.
There were some errors showing, so I'm not sure if how I 'corrected' them made the script not work:
1578254859171.png

1578254875698.png


It's set up like this now:
Spoiler
Code:
class Window_Help < Window_Base
  #--------------------------------------------------------------------------
  # * Set Item
  #     item : Skills and items etc.
  #--------------------------------------------------------------------------
  def set_item(item)
    set_text(item ? item.note : "")
  end
end

module Item_DSC
  Item01 = "string"
  Item02 = "another string."
  Item03 = "a roughly longer string."
end

class RPG::BaseItem
  alias orig_init initialize
    def initialize
    orig_init
    @description = self.desc_method
  end
 
  def desc_method
    if self.note =~ /'Description[\s]*=[\s]*(\w)*\.'/i
      return eval($1)
    else
      return ""
    end
  end
end

But it doesn't seems to work:
1578255007717.png

It's the same when placing it in the description.
I might have some definitions backwards XD
hold on

EDIT:
it was backwards, it's <alias> (new alias) (original), and =~

you have to revert the changes to the original description grab:
change
set_text(item ? item.note : "")
to
set_text(item ? item.description : "")

you can then change the definitions to whatever you want, as long as you link the note tag to the module via the string names.
I've found this
I've updated the thread with a new method of doing this.
It looks like the description is not erased upon a change of the item :0
Spoiler: GIF
IRQPLM3.gif
Missing one line.
@note_desc = nil
I'll update the other thread in a sec
@gstv87 Yes, I have tested it like that by removing the set_item overwrite, but it still didn't work x~x

@Roninator2 Works like a charm now! Thanks 😀
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/using-notes-to-set-long-item-description.116985/