Glad to hear you found it.
For the madness, you can add MADNESS,100,X (with X the length of your status in turns) to ExtraProperties in the Potion to which your status refers.