How to add scripts?

Hey everyone,

So, I recently came across a new tileset I like a lot more than the current one I'm using and have begun converting everything over. One thing this new tileset has that my old didn't is sideway vertical stairs.

I'm trying to add a script that makes it much easier to walk up the stairs, pushing you diagonally up as you walk onto the tile and it's not a downloadable script but rather the "give you the code" type. I've never actually done it this way, I've only installed plugins. How and where do I get this working? Do i cut it up and just keep throwing it into the script command somewhere such as a common event? I'm still pretty new to RM so I apologize, but any help would be appreciated.

The script:

EDIT: I know the instructions says to put in the "Materials" section of the scripts but I have no idea what this means!
No, don't do that.

This is a ruby script, and won't work in MV.
Oh, crap. Is there something such as this for what I'm trying to use it for?
A quick google search gave me this



RPG Maker MV and MZ use plugins, not scripts. If you Google with that correct terminology, you can usually find what you need.
@TRIDIUM, I guess it's what @ATT_Turan said, because I swear I looked for them, lol. I TRY not to bother people with something that an easy google search can just pull up. Thank you for the help. I appreciate it, my friend.
I know the instructions says to put in the "Materials" section of the scripts but I have no idea what this means!
The Ruby-based makers (RMXP, RMVX and RMVXA) have a script editor and inside that script editor there is a section named "Materials".

When the base language was changed to javascript for RMMV and RMMZ, the concept was also changed and an API fpr scripts implemented, and those are now called plugins because they can be added with less of a hassle than the previous scripts.

however, Ruby and javascript are not compatible and scripts for Ruby cannot be added to MV and MZ, while plugins for the newer makers cannot be added into the script editor either.
The Ruby-based makers (RMXP, RMVX and RMVXA) have a script editor and inside that script editor there is a section named "Materials".

When the base language was changed to javascript for RMMV and RMMZ, the concept was also changed and an API fpr scripts implemented, and those are now called plugins because they can be added with less of a hassle than the previous scripts.

however, Ruby and javascript are not compatible and scripts for Ruby cannot be added to MV and MZ, while plugins for the newer makers cannot be added into the script editor either.
Ah, makes total sense. Thank you so much for clarifying!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-scripts.168262/