import ; void get_zatara_stuff() { string old_clan; buffer vip_bafh; int i; if (is_online("cheesefax") && item_amount($item[Clan VIP Lounge key]) > 0) { old_clan = get_clan_name(); clanhop("Bonus Adventures from Hell"); vip_bafh = visit_url("clan_viplounge.php?whichfloor=1").append(visit_url("clan_viplounge.php?whichfloor=2")); if (vip_bafh.contains_text("fortuneteller.gif")) { while (i < 10 && to_int(get_property("_clanFortuneConsultUses")) < 3) { print_html("Asking cheesefax for a consultation..."); if (cli_execute("fortune cheesefax pizza batman thick")) {} wait(20); i = i + 1; } if (!to_boolean(get_property("_clanFortuneBuffUsed")) && user_confirm("Get a buff from Zatara?", 20000, true)) { if (cli_execute("fortune buff item pizza batman thick")) {} } } if (old_clan != "Bonus Adventures from Hell") { clanhop(old_clan); } } else { print_html("Cheesefax is not online. Get your clan fortune items on your own."); } }