Original Source
- Original title: Plugin case changer (Test tool)
- Original author: Zeriab
- Original date: October 23, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/plugin-case-changer-test-tool.46559/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
Plugin case changer (Test tool)¨ Changes the casing of plugin commands Introduction This little plugin is to help scripters being aware of and making conscious choices about case-sensitivity and test during plugin development. It also helps plugin users bug scripters about such issues, and hopefully help establish a best practice rule: Plugin commands comparison should be case-insensitive by default except where the sensitivity has a functional meaning.
Archived First Post
Changes the casing of plugin commands
Introduction
This little plugin is to help scripters being aware of and making conscious choices about case-sensitivity and test during plugin development. It also helps plugin users bug scripters about such issues, and hopefully help establish a best practice rule: Plugin commands comparison should be case-insensitive by default except where the sensitivity has a functional meaning.
Download
You can download the script from my MediaFire account or copy it from the code block in the spoiler.
Use this plug-in to help nudge scripters and programmers into making the use of Plugin Commands case-insensitive except where needed. For example for Yanfly's scripts there is no reason why "MessageRows 6" should be treated differently from "Messagerows 6". In some instances preserving casing can be necessary. When displaying text for example.
Plugin parameter options
- Command text ~ Change the casing of the command text?
- First argument ~ Change the casing of the first argument? (Typically set/add/create, i.e. an action specification for the plugin)
- Additional arguments ~ Change the casing of all additional arguments?
- Case type ~ Choose between following case conversions1 - lowercase
- 2 - UPPERCASE
- 3 - Captilize
The casing doesn't really matter for neither the plugin identifier nor the action. The church is a folder name. As the folder name is case sensitive on some systems preserving the casing is important. For testing my plugin I therefore chose to change the casing of the command text and the first argument, but not the additional arguments. What about the Case type? I ran my test demo once per case type, found an error and fixed it. Unfortunately I forgot to give it to Archeia, so the plugin in the release package is the old one. Sorry! ;A;
Yes, yes, I know it's a small thing. But we might as well be nice to the game devs who end up using our plugins, right? ^^
*hugs*
- Zeriab
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Terms of Use Spoiler Copyright (C) 2015 ZeriabThis software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising fromthe use of this software.Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute itfreely, subject to the following restrictions:1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If...
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...