ADRIFT and TADS are both pretty good IF authoring tools. ADRIFT can display graphics, but can't do anyhing like the Spellcasting games interfaces. I've never made anything with TADS, but it uses HTML or something so I suppose there's probably some clever way to make it do things it's not supposed to.