Changing a self switch in another event to the one you're using

I have managed to delete/overwrite/lose my document with all my "I don't do this very often, so I might forget how to do it" instructions.

One of those was what to put in to an event so that it changed the self switch of another event somewhere else.  Could someone please remind me how to do this?

Thanks.
I believe this is what you are looking for:

$game_self_switches[[map, event, 'self_switch']] = value

Map is either @map_id (for the current map) or a number without leading zeros for a map other than the current one

event is either @event_id (for the current event) or a number for an event other than the current one (EV001 would be 1)
self_switch is 'A', 'B', 'C' or 'D' (must have the single or double quotes)
value is either true or false
Thanks, that is indeed what I was looking for.  

If only I could remember what else what in that document!
I am sorry to hear that, I know that is a pretty large loss for you. 

I am not sure if you have this thread from Archeia bookmarked, but it is a handy one. It is a collection of script calls and is where I got the above info.
Now bookmarked.  Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/changing-a-self-switch-in-another-event-to-the-one-youre-using.38026/