Can someone tell me how to use this code?
I'm not a developer, can i just enter it in the console?

Can you get the TXid? I'll get the hash for you from a block explorer and you can paste that into your wallet to import the transaction hash (I'll tell you how to do this once I get the TXid and the hashed format).
The Coding Enthusiast posted information, not code. And if it works to just import the raw hash then that'll probably save a lot of effort of running the other scripts.