Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.05 KB | None | 0 0
  1. <?php
  2. /* echo"///////////Rl90's Multi-Command Script////////////\n" ; sleep(2);
  3. echo"//////////Released for PCL/PCS Only!/////////////\n" ; sleep(2);
  4. echo"/////////Do not plagarize!//////////////////////\n\n" ; sleep(2);
  5. sleep(3);
  6. */
  7. $pclkey = "betas";
  8. require("library.php");
  9. require("tasks.php");
  10. $message = "Connected! Read details below.";
  11.  
  12. /*echo "Before we start, lets go over somethings...\n\n"; sleep(3);
  13. echo "The rooms list is in 'rooms.ini'\n\n"; sleep(3);
  14. echo "The servers list is in 'servers.ini'\n\n"; sleep(3);
  15. echo "The answers need to be typed as shown.\n\n"; sleep(3);
  16. echo "Ok! Let's begin"; sleep(1); echo"."; sleep(1); echo"."; sleep(1); echo"."; sleep(1); echo"\n\n";
  17. */
  18. echo "Username: ";
  19. $Username = trim(fgets(STDIN));
  20. echo "Password: ";
  21. $Password = trim(fgets(STDIN));
  22. echo "Server: ";
  23. $Server = trim(fgets(STDIN));
  24. echo "Room: ";
  25. $Room = trim(fgets(STDIN));
  26.    
  27.     $p = new Pickle;
  28.     $login = $p->connect($Username, $Password, $Server);
  29.     if($login != -1) {
  30.         die($login);
  31. }
  32.     echo "We have liftoff!\n\n";
  33. echo "NOTE: When you get the choices, enter the number of the command."; sleep(5);
  34. echo "Now, here is the list:\n\n"; sleep(3);
  35. echo "1: Walk to specific coordinates.\n";
  36. echo "2: Go to a specific frame.\n";
  37. echo "3: Send a message.\n";
  38. echo "4: Send a emote.(By ID)\n";
  39. echo "5: Send a joke. (By ID)\n";
  40. echo "6: Add Item (Unless you are on iCP, it will not work to get a patched item.(you may get banned D:))\n";
  41. echo "7: Money Maker (Coming Soon...)\n";
  42. echo "9: Add all colors.\n";
  43. echo "10: Rainbow Penguin\n";
  44. echo "11: Rainbow Puffle(Must be a member and have all Puffles.)\n";
  45. echo "12: Send a be my buddy postcard.\n";
  46. echo "13: Throw a snowball.\n";
  47. echo "14: Send a buddy request (By ID)\n";
  48. echo "15: Remove a buddy (By ID)\n";
  49. $number = trim(FGETS(STDIN));
  50. if ($number == "1") {
  51. echo "Enter the X coordinate:\n";
  52. $XC = trim(FGETS(STDIN));
  53. echo "Enter your Y coordinate.";
  54. $YC = trim(FGETS(STDIN));
  55. $p->sendPosition($XC, $YC);
  56. echo"Penguin is now at the Coordinates, $XC, $YC\n\n";
  57. }
  58. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement