Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $pclkey = "betas";
- require "library.php";
- require "tasks.php";
- echo "Welcome to _Aggie's Item Hack!\n";
- echo "Please note as this is not working if you don't have a mod server in servers.ini\n";
- echo "Penguin Name: ";
- $Username = trim(fgets(STDIN));
- echo "Password: ";
- $Password = trim(fgets(STDIN));
- echo "Server ID: ";
- $Server = trim(fgets(STDIN));
- 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]: ";
- $Choice = trim (fgets(STDIN));
- $p = new Pickle;
- $connect = $p->connect($Username, $Password, $Server);
- if($Choice == "Yes"){
- echo "Adding Beta Hat and Red Lei now!\n";
- $p->addItem(413);
- sleep(2);
- $p->addItem(171);
- sleep(2);
- echo("The Beta Hat and Red Lei have been added!");
- }
- elseif($Choice == "No"){
- echo "Please enter the Item ID now:\n";
- $ID = trim(fgets(STDIN));
- $p->addItem($ID);
- sleep(2);
- echo("The id: '$ID' has been added!\n");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement