Quote:
Originally Posted by gm9
IIRC the icons fire an OnShow event for each new detriment. Again IIRC SOE asked that an auto cure mod that had been uploaded here to be removed from the site because of automated game play.
|
^^ (Guilty)
There are some automated things you can get away with and some that you cannot. My auto-cure script was more of a programming challenge than anything else. It was meant more as a click a button and it would cure one thing that needed to be cured(unless configured to ignore a certain type on a certain player)... but I left in the auto-cure element "for fun". Ironic that the optional part got it the bad kind of attention.
Anyways, the OnShow will indeed fire when the icon becomes visible but it will not refire for a second detriment of that type and you can't avoid firing it when the detriment is uncurable. It's possible someone is smarter than me and figured out how to pull the number from the icon, but I couldn't.