This script is very basic, it checks on login how close you are to the gold cap, if you're over 200k gold the script will convert the players gold in to 4x50k gold bars.
This is not very unique, however it sure does beat doing a core mod and recompiling.
--Gold to Gold Bars--
--Written by...