string clanStash = visit_url("clan_stash.php");
	boolean pullZero = index_of(clanStash, "You are authorized to withdraw zero-karma items from the stash") != -1 ? true : false;
	print(pullZero);
		string clanStash = visit_url("clan_stash.php");
	int zeroItem = 0;
	matcher zeroKarma = create_matcher("You may withdraw ([\\d]+) such items per day", clanStash);
	while (find(zeroKarma)){
		zeroItem = zeroKarma.group(1).to_int();
	}
	print("You are allowed to pull "+zeroItem+" Zero karma items");
	int noOfZeroKarmaItemsAvailable() { // -1 = unlimited
    buffer clanStash = visit_url("clan_stash.php");
    matcher zeroKarma;
    int zeroItem = 0;
    
    if (index_of (clanStash, "You are exempt from your Clan's Karma requirements.") != -1) {
        return -1;
    } else if (index_of (clanStash, "You are authorized to withdraw zero-karma items from the stash") == -1) {
        return 0;
    } else {
        zeroKarma = create_matcher("You may withdraw (\\d+) such items per day", clanStash);
        while (find(zeroKarma)){
            zeroItem = to_int (zeroKarma.group(1));
        }
        return zeroItem;
    }
}
	create_matcher("You may withdraw (\\d+) such items per day", clanStash);