Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <?php
  2. //$pclkey = "betas";
  3. require("library.php");
  4. require("tasks.php");
  5.  
  6. /* Script Information
  7. *
  8. * Title: Penguin Flasher
  9. * By: Adam
  10. * Version: 1.0
  11. *
  12. * Description: This script makes your penguin appear and disappear rapidly in the room you choose.
  13. * Features: All CLI, no editing needed.
  14. *
  15. * Legal: Copyrighted with Creative Commons Copyright License. DO NOT COPY.
  16. */
  17.  
  18. echo "Welcome to Adam's Penguin Flasher!\n";
  19. sleep(3);
  20. echo "Username: ";
  21. $Username = trim(fgets(STDIN));
  22. echo "Password: ";
  23. $Password = trim(fgets(STDIN));
  24. echo "Server: ";
  25. $Server = trim(fgets(STDIN));
  26. echo "Room: ";
  27. $Room = trim(fgets(STDIN));
  28.  
  29. $p = new Pickle;
  30. $login = $p->connect($Username, $Password, $Server);
  31. if($login != -1){
  32. die($login);
  33. }
  34.  
  35. while(true){
  36. $p->joinRoom(800, 0, 0);
  37. $p->joinRoom($Room, 300, 100);
  38. }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement