Advertisement
ereinion

Zatara

Mar 7th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import <clanhop.ash>;
  2.  
  3. void get_zatara_stuff() {
  4.     string old_clan;
  5.     buffer vip_bafh;
  6.     int i;
  7.    
  8.     if (is_online("cheesefax") && item_amount($item[Clan VIP Lounge key]) > 0) {
  9.         old_clan = get_clan_name();
  10.         clanhop("Bonus Adventures from Hell");
  11.         vip_bafh = visit_url("clan_viplounge.php?whichfloor=1").append(visit_url("clan_viplounge.php?whichfloor=2"));
  12.         if (vip_bafh.contains_text("fortuneteller.gif")) {
  13.             while (i < 10 && to_int(get_property("_clanFortuneConsultUses")) < 3) {
  14.                 print_html("<font color=008000>Asking cheesefax for a consultation...</font>");
  15.                 if (cli_execute("fortune cheesefax pizza batman thick")) {}
  16.                 wait(20);
  17.                 i = i + 1;
  18.             }
  19.             if (!to_boolean(get_property("_clanFortuneBuffUsed")) && user_confirm("Get a buff from Zatara?", 20000, true)) {
  20.                 if (cli_execute("fortune buff item pizza batman thick")) {}
  21.             }
  22.         }
  23.         if (old_clan != "Bonus Adventures from Hell") {
  24.             clanhop(old_clan);
  25.         }
  26.     } else {
  27.         print_html("<font color=FF0000>Cheesefax is not online. Get your clan fortune items on your own.</font>");
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement