Advertisement
Guest User

Untitled

a guest
May 8th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. <?php
  2. require "../core.php";
  3. require "../tasks.php";
  4.  
  5. $Username = "calibot";
  6. $Password = "....";
  7. $Server = 302;
  8. $TargetID = ....;
  9.  
  10.  
  11. if (connect($Server, $Username, $Password, true)) {
  12. }
  13. gotoRoom(320, 0, 0);
  14.  
  15. while(true){
  16. $rawPack = readRawPacket();
  17. if (stripos($rawPack, "xt%sm%$myRoomID%$TargetID%black%");
  18. updateColor($1);
  19. }
  20. elseif (stripos($rawPack, "xt%sm%$myRoomID%$TargetID%yellow%");
  21. updateColor($2);
  22. echo("Room: coffee shop\n");
  23. }
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement