Script call for buttons 1, 2 and 3

How do I script call the dash, cancel/menu, and confirm/ok/enter buttons?

index.php
Code:
Input.press?(:A)

Just change the A to whatever rpg maker inputs are set to. Just press F1 and search for 'basic controls' to find what value to use.
Should work.
Different request. Haven't hear of someone asking to make it press those keys. Usually it's a conditional branch to check if the keys are pressed.
Code:
Input.press?(:A)

Just change the A to whatever rpg maker inputs are set to. Just press F1 and search for 'basic controls' to find what value to use.
Should work.
Different request. Haven't hear of someone asking to make it press those keys. Usually it's a conditional branch to check if the keys are pressed.

thank you, and I second this request

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-buttons-1-2-and-3.79614/