OuterSelfSwitch

So, I'm having some trouble with OuterSelfSwitch written by Yoji Ojima. Sometimes it works, sometimes it doesn't. I'm assuming it's user error but does anyone know if it's based on event # by map or "always". I assume it is by map as events restart their counts per map.

This is an example of the code that I'm using that does not work. I am inputting it with a plugin command.

OuterSelfSwitch on 20 A
That is the correct command, and it will work - if nothing happens then that means you either choose the wrong ID for the event (yes, the event is map-based because the other maps don't exist in memory), or the event itself has a mistake that disables its reaction to the self-switch change.
The second case usually happens if you ignored page priority and page sorting in the event.
Third probability is that the command never was given because of a mistake you made in the event that should have called the plugin command.

So please give screenshots of the event that should react to that command, and we can tell you what you did wrong.
***I figured it out. I didn't realize it until I looked at it after taking my screen shot, but there is a space before the command. I think it closes.

Hey, sorry about that @Andar. This is the event.

@Solis That is not the event I asked for - I wanted to see the event ID 20 where the self-switch is used
@Solis That is not the event I asked for - I wanted to see the event ID 20 where the self-switch is used

Oh, sorry. Let me link again. I did figure out the issue, however. It had to do with placing a space before the code. Anywhere, here is the event.

Original thread: https://forums.rpgmakerweb.com/threads/outerselfswitch.78599/