Recently @Lomaxient brought up the idea of a thread where we could share all the tricks we've learned to accomplish something in our projects, and I thought that idea was great! We all have some neat tricks and fun tips to get specific effects in our games, but for the most part we don't share them unless we come across someone asking for help since the single trick isn't enough for a full tutorial. The idea for this thread is to share those short tips and tricks all in one place, so hopefully we can help someone before the need to make a thread or we can inspire someone to add something cool to that can improve their projects.
So let's all share some of the little things you use in your games that help make it better! You can share eventing tricks, move route ideas, damage formulas, graphic shortcuts, and more! Just make sure that the main focus is in RPG Maker, not in a program outside of it.
“Should I post here or should I make a tutorial thread?”
I’m not going to make any strict rules about this, but let’s try to keep this thread full of quick-and-easy things to implement. If your trick needs a bunch of steps to explain it or requires a lot of work to set up, please make a tutorial thread. If your trick is one line in an event or damage formula and you can’t expand on it to make a full tutorial, post it here.
Since we are all at different levels of RPG Maker knowledge, let's use a template so that hopefully even newer devs can use these tips without needing to ask too many questions. 🙂
Tips & Tricks Template:
Name of Tip/Trick:
Maker: [2k,2k3,XP,VX,Ace,MV, MZ] Tell us which RPG Maker this is for, since not every trick will work in every engine. If your trick can work in multiple engines, make sure to list them!
Description: Tell us what the tip accomplishes. Be as description as possible so others know what it does and can find your post while searching.
Required Resources: Does this tip need a plugin or some out-of-engine graphics to work properly? Then share them here.
How to do it: The meat of your trick! Share how you set it up and got it working. Please be as specific as possible so others can also do it, including screenshots as needed.
Reference Links and Thanks: Did you learn how to do this from an older thread or pull some code from someone else's post to get your trick working? Then drop that link or username here, so others can see it and maybe learn something else!
I'll go ahead and start this off with one trick I use often in my own projects. 
Checking the number of specific items at the same time:
Maker: [MV, MZ]
Description: While we can count how many of a specific item with a variable, sometimes it would be easier if we could check a bunch of item counts at once in a conditional branch instead of needing to nest multiple conditional branches. Luckily there is a script call that lets us do just that! It's great for crafting systems where you need more than one type of item to make something or if you want to make side quests where a bunch of different monster drops are needed.
Required Resources: None
How to do it:
Reference Links and Thanks: RPG Maker MV / MZ Script Call List
So let's all share some of the little things you use in your games that help make it better! You can share eventing tricks, move route ideas, damage formulas, graphic shortcuts, and more! Just make sure that the main focus is in RPG Maker, not in a program outside of it.
“Should I post here or should I make a tutorial thread?”
I’m not going to make any strict rules about this, but let’s try to keep this thread full of quick-and-easy things to implement. If your trick needs a bunch of steps to explain it or requires a lot of work to set up, please make a tutorial thread. If your trick is one line in an event or damage formula and you can’t expand on it to make a full tutorial, post it here.
Since we are all at different levels of RPG Maker knowledge, let's use a template so that hopefully even newer devs can use these tips without needing to ask too many questions. 🙂
Tips & Tricks Template:
Name of Tip/Trick:
Maker: [2k,2k3,XP,VX,Ace,MV, MZ] Tell us which RPG Maker this is for, since not every trick will work in every engine. If your trick can work in multiple engines, make sure to list them!
Description: Tell us what the tip accomplishes. Be as description as possible so others know what it does and can find your post while searching.
Required Resources: Does this tip need a plugin or some out-of-engine graphics to work properly? Then share them here.
How to do it: The meat of your trick! Share how you set it up and got it working. Please be as specific as possible so others can also do it, including screenshots as needed.
Reference Links and Thanks: Did you learn how to do this from an older thread or pull some code from someone else's post to get your trick working? Then drop that link or username here, so others can see it and maybe learn something else!
Name of Tip/Trick:
Maker: [2k,2k3,XP,VX,Ace,MV, MZ]
Description:
Required Resources:
How to do it:
Reference Links and Thanks:
Maker: [2k,2k3,XP,VX,Ace,MV, MZ]
Description:
Required Resources:
How to do it:
Reference Links and Thanks:

Checking the number of specific items at the same time:
Maker: [MV, MZ]
Description: While we can count how many of a specific item with a variable, sometimes it would be easier if we could check a bunch of item counts at once in a conditional branch instead of needing to nest multiple conditional branches. Luckily there is a script call that lets us do just that! It's great for crafting systems where you need more than one type of item to make something or if you want to make side quests where a bunch of different monster drops are needed.
Required Resources: None
How to do it:
We can use this script call:
Where 'n' is replaced with the item's number from the database and the 'x' is how many of the item we're checking for. If we want to check multiple items at once, then we can combine the script calls with '&&' to mean each script call must be true or '||' to mean at least one script call must be true.
We can check more than just items, if we replace the '$dataItems[n]' with either '$dataWeapons[n]' or '$dataArmors[n]' to check weapons and armors respectively. This only check the inventory, not anything equipped, so keep that in mind.
Some examples:
Once we have our code figured out, we can use in a conditional branch during an event. For this example, the party needs to have at least 5 Potions and 5 Magic Waters to create an Elixir, and if they don't have enough then they'll be told that:
Code:
$gameParty.numItems($dataItems[n]) == x
^Party must have the exact listed number of the item.
$gameParty.numItems($dataItems[n]) >= x
^Party must have at least the listed number of the item.
$gameParty.numItems($dataItems[n]) <= x
^Party must have the same or less than the listed number of the item.
We can check more than just items, if we replace the '$dataItems[n]' with either '$dataWeapons[n]' or '$dataArmors[n]' to check weapons and armors respectively. This only check the inventory, not anything equipped, so keep that in mind.
Some examples:
Code:
$gameParty.numItems($dataItems[1]) == 5
^Means that the party must have exactly 5 of Item 1.
$gameParty.numItems($dataItems[1]) >= 5 && $gameParty.numItems($dataItems[2]) >= 5
^Means that the party must have both at least 5 of Item 1 and at least 5 of Item 2.
$gameParty.numItems($dataWeapons[1]) <= 5 && $gameParty.numItems($dataArmors[1]) <= 5
^Means that the party must have less than 5 of both Weapon 1 and Armor 1.
$gameParty.numItems($dataWeapons[1]) >= 3 || $gameParty.numItems($dataWeapons[2]) >= 3
^Means that the party must have at least 3 of Weapon 1 or at least 3 of Weapon 2.
Once we have our code figured out, we can use in a conditional branch during an event. For this example, the party needs to have at least 5 Potions and 5 Magic Waters to create an Elixir, and if they don't have enough then they'll be told that: