Feature - Implemented please add Clancy interface to ash scripts

lostcalpolydude

Developer
Staff member
It seems like there should be a better name for that function than minstrel_attention() that I came up with. Other than that I have the code done (but not tested because I'm not in a boris run).
 

nworbetan

Member
It's tested now. :thumbsup:

Code:
boolean check_Clancy()
{
        if (minstrel_quest()) {
        //if (contains_text(visit_url("charpane.php"), "_att.gif")) {
                 string what_now = visit_url("main.php?action=clancy");
                 matcher m_choice = create_matcher("whichchoice\\s+value=(\\d+)", what_now);
                 if (!find(m_choice)) abort("Looks like there's some confusion about what Clancy *really* wants...");
                 visit_url("choice.php?whichchoice=" + group(m_choice, 1) + "&option=1");
                 return true;
        }
        return false;
}
 
Top