daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Jun 4th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $pclkey = "betas";
  3. echo "Welcome to Happehwalrus' iCPv3 item adder. BTW, this script takes about 11 minutes to finish.\n";
  4. require "Pickle.php";
  5. $Username = "Nowhere Man";
  6. $Password = "niggers";
  7. $Server = 100; //Server ID (or name)
  8.  
  9. $p = new Pickle;
  10. $p->connect($Username, $Password, $Server);
  11. $item=1;
  12. echo "Do you want the script to echo when it adds an item?\n";
  13. $q = trim(fgets(STDIN));
  14. if ($q == "yes" | $q == "Yes") {
  15. while($item<=700)
  16.   {
  17.   $p->addItem($item);
  18.   echo "Added item ID $item.\n";
  19.   $item++;
  20.   sleep(1);
  21.   }
  22.   echo "Finished adding items. Exiting in 5 seconds.";
  23.   sleep(5);
  24.   die;
  25.   }
  26.   if ($q == "no" | $q == "No") {
  27. while($item<=700)
  28.   {
  29.   $p->addItem($item);
  30.   $item++;
  31.   sleep(1);
  32.   }
  33.   echo "Finished adding items. Exiting in 5 seconds.";
  34.   sleep(5);
  35.   die;
  36.   }
  37.   ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top