Pazleysox
Member
Why does this fail:
and this works:
Code:
void main()
{
string thesea = visit_url("main.php");
matcher need = create_matcher( "title=\"(\w+) (\w+)" , thesea );
{
need.find();
string group1= need.group( 1 );
{
print(group1);
}
}
}
Code:
string CheckGrinderNext= visit_url( "inventory.php?action=grind" );
matcher need = create_matcher( "needs (\\d+)" , CheckGrinderNext );
{
need.find();
string group1= need.group( 1 );
{
if ((group1) >= 1)
{
print("You need to grind more stuff to make sausage", "red");
}
}
}