The trick given is to hold Shift and the tilde key, which reportedly grants a large amount of gold. It is a keyboard shortcut rather than a code you type into a console.
Whether it still works depends on the version, since Flash games were frequently rebalanced and input handling changed between builds.