An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Name Switch - NameSwitch.js

Plugin desc : Name Switch Ver1.0.0 (2025/1/1)

License : MIT License

Author : PotatoDragon

Website : https://github.com/pota-gon/RPGMakerMZ/wiki

Desc page : https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/System/Name/NameSwitch.js

Download Page : https://raw.githubusercontent.com/munokura/PotatoDragon-MZ-plugins/main/NameSwitch.js

File name : NameSwitch.js

Help of plugin :

@target MZ
@url https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/System/Name/NameSwitch.js
@plugindesc Name Switch Ver1.0.0 (2025/1/1)
@author PotatoDragon
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/PotatoDragon-MZ-plugins ).
Original plugin by PotatoDragon.
Please check the latest official version at:
https://github.com/pota-gon/RPGMakerMZ/wiki
-----

## Overview
Adds a plugin command called "Name Switch" that turns switches on and off by
name.

## Usage
1. Select the plugin command from the event command.
2. Specify "Name Switch" as the plugin name.
* "Name Switch" will be automatically selected as the command name.
3. Enter the switch name in the "Switch Name" argument.
4. Select ON/OFF in the "Operation" argument.

### Plugin Command Description

#### Name Switch
A plugin command that turns switches on and off by name.

##### Switch Name
Enter the switch name.

##### Operation
Select ON/OFF.

@command switch_name
@text Name Switch
@desc Invoke a switch by name
@arg SwitchName
@text Switch Name
@desc Specifying a switch by name
@type string

@arg switch
@text For switch name search
@desc This parameter is not used as data.
@type switch
@parent SwitchName

@arg Operation
@text operation
@desc Switch ON/OFF setting
@type boolean
@default true

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.