Using a consult script, I can't seem to detect the end of combat by using contain_text() function --
void main(int initround, monster foe, string url)
{
while (!contains_text(url, "You win the fight!"))
attack();
return;
}
The script can't find "You win the fight!" (or...