Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.03 KB | None | 0 0
  1. <?php
  2. $pclkey = "betas";
  3. echo "Welcome to andyh2s' CPW item adder. BTW, this script takes about 2 minutes to load, and 12 minutes to finish. .\n";
  4. require "Pickle.php";
  5. $Username = "andyh2";
  6. $Password = "example";
  7. $Server = 100; //Server ID (or name)
  8. $CPW moderators online = \\*This operation is being built!*//
  9.  
  10. $p = new Pickle;
  11. $p->connect($Username, $Password, $Server);
  12. $item=1;
  13. echo "Do you want the script to echo when it adds an item? Tell andyh2 and Rarreninja NOW. DO IT.\n";
  14. $q = trim(fgets(STDIN));
  15. if ($q == "yes" | $q == "Yes") {
  16. while($item<=700)
  17.   {
  18.   $p->addItem($item);
  19.   echo "Added item ID $item.\n";
  20.   $item++;
  21.   sleep(1);
  22.   }
  23.   echo "Finished adding items. Exiting in 7 seconds. Thank you for using andyh2's CPW item adder!";
  24.   sleep(5);
  25.   die;
  26.   }
  27.   if ($q == "no" | $q == "No") {
  28. while($item<=700)
  29.   {
  30.   $p->addItem($item);
  31.   $item++;
  32.   sleep(1);
  33.   }
  34.   echo "Finished adding items. Exiting in 7 seconds.";
  35.   sleep(5);
  36.   die;
  37.   $andyh2-CPW productions = All rights reserved (c)2010
  38.   }
  39.   ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement