Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <?php
  2. /*
  3. Xat bot
  4. Coded by Bloody Vendetta
  5. /*
  6. set_time_limit(0);
  7. $XatUser = "Bot";
  8. $XatID = "";
  9. $Xatk1 = "";
  10. $XatAvAtar = "615";
  11. $XatHome = "";
  12. $ChatID = "";
  13. $Chatname = "Pr0n";
  14. $addr = array $socket2
  15. $port = array $socket2
  16. //Socket objects come in next.
  17. $socket = socket_create(af_inet,socket_stream,sol_tcp);
  18. if (false==($socket = socket_create(af_inet,socket_stream,sol_tcp)));
  19. else
  20. }
  21. Trace ("Succesfully created Socket object")
  22. {
  23. $socket2 = socket_connect("socket","addr","port");
  24. if (false==($socket = socket_connect("socket","addr","port")));
  25. else
  26. }
  27. trace ("Connected succesfully");
  28. {
  29. case "!Info"
  30. echo "This is a bot coded by BloodyVendetta";
  31. break;
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement