Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1. <?php
  2. $bot = new xatbot();
  3. $roomid = "116907071";
  4. $sterror = $bot->connect('174.36.242.44','10019');
  5. $sterror2 = $bot->join($roomid);
  6. class xatbot{
  7. private $id="363028565";
  8. private $k1 = "1751745975";
  9. public $name = "bot";
  10. public $avatar = "88";
  11. public $home = "xat.com";
  12. if($sterror){
  13. echo "connected to host and port";
  14. }else{
  15. echo "error connectiong to host and port";
  16. }
  17. if($sterror2) {
  18. echo "bot connected to chat room";
  19. }else{
  20. echo "error connectiong to chat room";
  21. }
  22.  
  23.  
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement