Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #NOT OWNED
- ################################
- ######Created for Aluf#########
- ##############################
- /*Feel free to add more commands; this was created for spamming.*/
- $botid = ""; //Enter ID
- $id =
- $botk1 = ""; //Enter k1 which will show as K once ran
- $botname = "GhetsisBot";
- $botavatar = "1653";
- $botaccess = array("365946899, 397830572, 161493927, 400092246");
- $bothome = "";
- $botchatid = ""; //Please fill in the chat ID
- $config = array(
- 'addr' => '174.36.242.26',
- 'port' => '10024'
- );
- $socket = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
- if (!$socket){
- die();
- }
- $connect = socket_connect($socket, $config['addr'], $config['port']);
- if (!$connect){
- die();
- }
- $j2packet = "<j2 l4=\"1637\" l3=\"1482\" l2=\"0\" k=\"".$botk1."\" k3=\"0\" z=\"11\" p=\"0\" c=\"" . $botchatid . "\" f=\"0\" u=\"" . $botid . "\" d0=\"0\" n=\"" . $botname . "\" a=\"" . $botavatar . "\" h=\"" . $bothome . "\" v=\"1\" />" . chr(0);
- send ("Process of sending ".$j2packet." !");
- socket_write($socket, $j2packet, strlen($j2packet));
- if ($error = true){
- die("An error has occurred.");
- }elseif($error = false){
- send("Connected to xat, please wait a moment.");
- }
- $error = false;
- $sockread = socket_read($socket, 1024) or $error = true;
- switch ($message) {
- case '!spam':
- $brush_price = 5;
- for ( $counter = 100; $counter <= 100; $counter += 100) {
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- echo "BOATS N HOES \n";
- break;
- case '!info':
- say ("This bot was created by Aluf");
- break;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment