Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $bot = new xatbot();
- $roomid = "116907071";
- $sterror = $bot->connect('174.36.242.44','10019');
- $sterror2 = $bot->join($roomid);
- class xatbot{
- private $id="363028565";
- private $k1 = "1751745975";
- public $name = "bot";
- public $avatar = "88";
- public $home = "xat.com";
- if($sterror){
- echo "connected to host and port";
- }else{
- echo "error connectiong to host and port";
- }
- if($sterror2) {
- echo "bot connected to chat room";
- }else{
- echo "error connectiong to chat room";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement