Unfortunately there's no #karma or #fame in EUO to use.
I'd suggest you use the buff bar scanner to see if Enemy of One is active or not. I'd also suggest that you figure out the range in seconds that EOO can last. So whats the minimum length of time EOO lasts for someone who is Dread?
Then I'd set up a timer that would begin checking EOO in the main loop AFTER the minimum time has passed. Why call another script if there's no need to?
set %timer_eoo #sCnt ; initialize the EOO timer, after this #sCnt is bigger
repeat ; your mainloop
....
....
gosub EnemyOfOne
....
until #false ; end of main loop
sub EnemyOfOne
if %timer_eoo > #sCnt ; why try casting if we KNOW it's still active?
return
if #mana < 20 ; why try casting if we don't have enough mana?
return
Call ScanBuffBar ; need to have that script in you EUO directory
if _EnemyofOne_ notin %BuffBarIconNames
{
event macro 15 206
wait 60
set %timer_eoo ( #sCnt + XX ) whatever we determine is minimum time in seconds
}
return
We can actually put both those scans on the same line like:
if %timer_eoo > #sCnt || #mana < 20
return
I just put them separate so you'd understand what I was doing.