// Educational Purposes only

import socket
import sys

def main():
    
    irc_address = input("Enter the IRC address: ")
    irc_channel = input("Enter the IRC channel: ")
    irc_message = input("Enter the message to spam: ")

    
    irc_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    irc_socket.connect((irc_address, 6667))

    
    irc_socket.send(bytes("NICK Nigger\n", "UTF-8"))
    irc_socket.send(bytes("USER Nigger 0 * :Nigger\n", "UTF-8"))

    
    irc_socket.send(bytes("JOIN " + irc_channel + "\n", "UTF-8"))

    
    irc_socket.send(bytes("PRIVMSG " + irc_channel + " :" + irc_message + "\n", "UTF-8"))

    
    irc_socket.close()

if __name__ == "__main__":
    main()

// Xao's a skid!

https://youtu.be/zVsrIeveDAI