daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Jul 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server = "irc.evilzone.org" # Server
  2. port = 6667 #port connect through IRC standard is :(6667 or 9999)
  3. irc = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
  4. irc.connect ( ( server, port ) )
  5. print irc.recv ( 4096 )
  6. nick = 'Piebot' #bots name
  7. chan = 'test' #channel
  8. version= "1.0" #current version
  9. irc.send ( 'NICK Pizebotrn' )
  10. irc.send ( 'USER Pizebot Pibot Pibot :Python IRCrn' )
  11. irc.send ( 'JOIN #testrn' ) # YOU MUST CHANGE THE CHANNEL HERE AND BELOW!!
  12. irc.send ( 'PRIVMSG #test :Hello World.rn' )
  13.  
  14. while True:
  15.     readbuffer= irc.recv(4096)
  16.  
  17.     temp=string.split(readbuffer, "n")
  18.     Check = readbuffer.split(':')
  19.     print readbuffer
  20.    
  21. network = 'irc.evilzone.org'
  22. port = 6667
  23. irc = socket.socket ( socket.AF_INET, socket.SOCK_STREAM )
  24. irc.connect ( ( network, port ) )
  25. print irc.recv ( 4096 )
  26. irc.send ( 'NICK ipbotrn' )
  27. irc.send ( 'USER ipbot completely real :Jxxxrn' )
  28. irc.send ( 'JOIN #testrn' )
  29. irc.send ( 'PRIVMSG #test:Oh Hai.rn' )
  30. while True:
  31.    data = irc.recv ( 4096 )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top