Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1. <?php
  2. $pclkey = "betas";
  3. require "library.php";
  4. require "tasks.php";
  5. echo "Welcome to _Aggie's Item Hack!\n";
  6. echo "Please note as this is not working if you don't have a mod server in servers.ini\n";
  7. echo "Penguin Name: ";
  8. $Username = trim(fgets(STDIN));
  9. echo "Password: ";
  10. $Password = trim(fgets(STDIN));
  11. echo "Server ID: ";
  12. $Server = trim(fgets(STDIN));
  13. echo "Would you like to just add the beta hat and red lei, if not you will be prompted to enter an item id. [Yes/No]: ";
  14. $Choice = trim (fgets(STDIN));
  15. $p = new Pickle;
  16.     $connect = $p->connect($Username, $Password, $Server);
  17.     if($Choice == "Yes"){
  18. echo "Adding Beta Hat and Red Lei now!\n";
  19. $p->addItem(413);
  20. sleep(2);
  21. $p->addItem(171);
  22. sleep(2);
  23. echo("The Beta Hat and Red Lei have been added!");
  24. }
  25.  
  26. elseif($Choice == "No"){
  27. echo "Please enter the Item ID now:\n";
  28. $ID = trim(fgets(STDIN));
  29. $p->addItem($ID);
  30. sleep(2);
  31. echo("The id: '$ID' has been added!\n");
  32. }
  33.  
  34. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement