Hidden gems in the scripting world

There are a lot of scripts out there, and some of them may be hard to find (maybe it's not on the master list, maybe the name is not obvious what it does, language barriers, etc)


What's a script that you're using that you think not a lot of people know about, but should know about?


If possible, try to include a link to the script page as well (where applicable).
   Your "Custom Event Triggers" script for one, along with Shaz's "Remember Event Position" script. Countless custom script requests I have seen can actually be evented quite easily with the features added from those scripts, but the fact that such requests are countless shows me that most people are either unaware of the scripts or unaware of how much you can actually do with them. Utility scripts in general tend to fly under peoples radars, begging instead for massively complex and specific to their needs scripts when the means both exists and is readily available for them to work it out themselves.
Basically, I think that everything that involves global switches and variables is under-appreciated. Little is done in terms of optimization in most RM games and it's high time that changed. Globals can also be used for many other neat tricks, as well.

Now I might be biased, because it's exactly what I needed for my own project, but Galv's Character Effects is a beautiful script, that almost no one knows.
Storage Boxes by IMP1, its great
Obviously RDeus's Condition Links addon to your Skill Links script, which can be found in your blog's requests/issue section. A complete gem.

Sometimes you need to edit the 

def check_item_links

section to meet your needs.

Also, TDS' Custom Action AI.

The most dynamic of all enemy ai scripts in my opinion. Especially since it allows for per-instance action decisions and target-based conditions and target must-haves, must-have-nots, and target orders such as "target the opponent with the highest TP".

http://rpgmaker.net/scripts/253/

However, it doesn't use action weights. It will always pick the first valid action. 

Therefore it takes a lot of thought and consideration into conditional situations.

However, something you can do is have this setup on your enemy:

Every turn, variable 1 "Enemy Action Random" is set to 1-100.

<Skill_Use_AI: 101>Require: chance = 33; if u.hp / u.mhp <= 0.2 then chance *= 0.5 end; rand(100)+1 <= chance and $game_variables[1] > 50Select_Default</Skill_Use_AI><Skill_Use_AI: 102>Require: chance = 50; rand(100)+1 <= chance and $game_variables[1] <= 50Select_If: chance = 50; if t.def / t.param_base(2) >= 2 then chance = 100 end; rand(100)+1 <= chanceSelect_Default</Skill_Use_AI><Skill_Use_AI: 103>Require: u.level >= 10 and $game_troop.turn_count % 2 == 0Select_Default</Skill_Use_AI><Skill_Use_AI: 104>Select_Default</Skill_Use_AI>With this condition, you have a 33% base chance to use the top action, halved if the user's health is low. 

For the 2nd action, you have a 25% base chance to use it, 50% if the target's defense is twice its base.

There is a 50% chance to not even select the top action and only select the bottom action.

If the enemy's level is high enough, they will use a certain spell every even turn.

If none are selected, the bottom action will be used.

(excuse me for any errors)

Original thread: https://forums.rpgmakerweb.com/threads/hidden-gems-in-the-scripting-world.44582/