You can do this, but it will work only in GS you won't be able to paste the text outside your game One (basic) way to do this: Create three text attributes (for example: text.password, text.copy, text.paste)
edit text.password with your password, leave the two others blank
to copy the password: when your condition is valid, change text.copy to text.password to paste the password: when your condition is valid, change text.paste to text.copy
You can also use tables if you know how to use them.
And you should save (and load) the copied password, to make sure, that it is still copied when your game crashes
Comments
One (basic) way to do this:
Create three text attributes (for example: text.password, text.copy, text.paste)
edit text.password with your password, leave the two others blank
to copy the password: when your condition is valid, change text.copy to text.password
to paste the password: when your condition is valid, change text.paste to text.copy
You can also use tables if you know how to use them.
And you should save (and load) the copied password, to make sure, that it is still copied when your game crashes