• Log in or sign up for an account here: https://www.sythe.org/login

wasn't 100% sure where this should go but - irc script

Status
Not open for further replies.

mu-b

War is a Drug

Banned
Joined
Jun 24, 2009
Sythe Gold
0
Messages
1,353
Location
2336
Code:
import sys, socket, string

if len(sys.argv) != 5:
	print "Usage: ./hellobot.py <host> <port> <nick> <channel>"
	sys.exit(1)

HOST = sys.argv[1]
PORT = int(sys.argv[2])
NICK = sys.argv[3]
CHAN = sys.argv[4]
readbuffer = ""

s=socket.socket( )
s.connect((HOST, PORT))
s.send("NICK %s\r\n" % NICK)
s.send("USER %s %s bla :%s\r\n" % (NICK, NICK, NICK))
s.send("JOIN :%s\r\n" % CHAN)

while 1:
	readbuffer=readbuffer+s.recv(1024)
    	temp=string.split(readbuffer, "\n")
    	readbuffer=temp.pop( )

    	for line in temp:
        	line=string.rstrip(line)
        	line=string.split(line)
		
		try:
			if line[1] == "JOIN":
				name = str(line[0].split("!")[0])
				s.send("PRIVMSG %s :%s%s\r\n" % (CHAN, "Welcome, ", name.replace(":","")))
		except(IndexError):
			pass
	
        	if(line[0]=="PING"):
          		s.send("PONG %s\r\n" % line[1])

it greets anyone who enters a channel.
 
The owner is d3hydr8, and all your doing is getting my post taken down because you weren't the creator.

ok kid, let me make this strait for you so you don't go looking dumb around any other sites.

1st, i never said i was d3hydr8 however he is a buddy of mine from milw0rm.

2nd, i've already confirmed all scripts as being mine by a global mod.

3rd, i'm going to tell you the process of darkc0de so you don't look like a dumb ass on any other sites.

when you go to darkc0de, the first thing you come to is an index, and in the index there is something called - Python Code - with all languages, Dc Tut's and paper's for people to read to learn. Farther down the list is all the languages you can click for a list of scripts.


the way those scripts get there


to get your scripts on the index page, you have to submit the script on forums first. D3hydr8 or Hi40k6 looks over the script to see if it's work able and make sure there are no flaws. If you're script is flawless they put it in the index. They then ask you if you would like to be credited in the index for people to see. You can either chose yes or no. 90% of my scripts on the index page are not credited. But since you think this is a ripped guide i went through the liberty of having d3hydr8 talk to Benwise to confirm my scripts as mine; mu-b

thanks, don't look like a dumb ass anymore please.
 
Publicity, they are his scripts. I took down your post because the site contains that, and other malicious scripts from other people that aren't accecptable for Sythe. I saw Brute Forcers, Scanners (I'm guessing for ports) and other things.

If you feel your post should be put back, feel free to PM me.
 
<3 n4n0
Discord Verified
Two Factor Authentication User
Community Participant
Spam Forum Participant
Sythe's 10th Anniversary
Sythe Awards 2011 Winner
Ben, they are not his scripts. Archived.
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top