Thank you! Got it to work now.
Btw, would it be possible to remove the shaz signature from the script?
You should never remove a scripters name/signature. You always credit the scripter even if they say you don't need to. Its just good manners.
To remove them is to slap them in the face for their hard work at learning the code, Helping you and providing great scripts and fixes to everyone.
That's my opinion anyways.
The reason I was asking is; when this is added to the script, it makes it harder to understand how the script works. For instance, is the alias flag required for most scripts to work properly? I'd just like to understand how this script solved my problem, and what I have to do if I need to make exceptions to this script later in the game.
But I see what you're saying, I guess it's kind of rude to ask for the signature to be removed.
When you say added to the script, are you putting it into another script?
If yes then STOP! You put it in its own slot below other scripts. Whichever script is at the bottom will overwrite other scripts at the top with the same class/method.
As for understanding the process of the script, that takes time and effort to learn the Ruby language or the coding.
I'm been using the software for 2.5 years and I'm only good enough to understand small parts. But I haven't put effort into learning the language.
The alias makes a reference to other code parts. If you want to learn more there are tutorials for rpg maker scripting.
That's not only a signature, it is a way to ensure that no other script use the same alias name (from other scripters).
Most scripters do that to avoid duplicate alias names (because that will crash the engine on startup).
I did that too when I started scripting, nowadays I just put random numbers at the end of my alias names out of laziness. 😛