Friendship on event script?

So i am making a big RPG Maker VX Ace game, and i want friendship system in it.
So when you pick right talk choice, you will gain friendship.

The friendship lists are on the menu. and when you have friends with an event, a switch is activated like
Ryoku #if friends with her Switch 43 will be turned on.
Ryan #if friends with him switch 44 will be turned on.

Is there a script like this or i have to do "without script" way like
friendship switches?

If it is, how do i make the menu button? Command? Window? Switch on the window?

Original thread: https://forums.rpgmakerweb.com/threads/friendship-on-event-script.94632/