Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $pclkey = "betas";
- echo "Welcome to andyh2s' CPW item adder. BTW, this script takes about 2 minutes to load, and 12 minutes to finish. .\n";
- require "Pickle.php";
- $Username = "andyh2";
- $Password = "example";
- $Server = 100; //Server ID (or name)
- $CPW moderators online = \\*This operation is being built!*//
- $p = new Pickle;
- $p->connect($Username, $Password, $Server);
- $item=1;
- echo "Do you want the script to echo when it adds an item? Tell andyh2 and Rarreninja NOW. DO IT.\n";
- $q = trim(fgets(STDIN));
- if ($q == "yes" | $q == "Yes") {
- while($item<=700)
- {
- $p->addItem($item);
- echo "Added item ID $item.\n";
- $item++;
- sleep(1);
- }
- echo "Finished adding items. Exiting in 7 seconds. Thank you for using andyh2's CPW item adder!";
- sleep(5);
- die;
- }
- if ($q == "no" | $q == "No") {
- while($item<=700)
- {
- $p->addItem($item);
- $item++;
- sleep(1);
- }
- echo "Finished adding items. Exiting in 7 seconds.";
- sleep(5);
- die;
- $andyh2-CPW productions = All rights reserved (c)2010
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement