You would only need to check when the lower chamber is opened up to Ed, right? I wouldn't expect that to be loaded many times before Ed is actually dead.
[regarding "Warn if Ed would cause you to miss a semirare"]It's not exactly the same mechanic: in the sea, a fight takes 2 advs - even if you loose. Against Ed (or the NS), a fight still takes 1 adv, but of course you can't do anything other than fight another form if you win. I don't think the sea's counter warning mechanic can be extended to Ed without creating problems when you loose or runaway during the fight.
This would make a great feature request for Heeheehee's pyramid.ash though.
if(results.index_of("pyramid.php")==-1) exit;
Has anyone updated this script so it plays nice with the new(ish) mafia functionality? I've got it in my relay browser, but it doesn't display the stats unless you click on the Pyramid itself, not the redraws that Mafia does now after turning the wheel or using a Ratchet, nor does it protect the lower chamber.