Simple IRC Connection

ive donwloaded the socket module installed but it dosent seem to connect i get no sing of connection


if (SERVER) then
function connectiontcp()
	local socket = require("socket")
	local irc = socket.tcp();
	irc:connect("irc.alphazone4.co.uk", 6667)
	print ("Hello!")
	irc:send ("USER ughotw23 fffddd dghf :lol678")
	print("ERE DERE")
	irc:send ("JOIN #roflz0rz")
end
connectiontcp()
end

if somone could get me a simple irc connection id be verry happy :slight_smile:

You’ve missed out some data to send.



if (SERVER) then
function connectiontcp()
	local socket = require("socket")
	local irc = socket.tcp();
	irc:connect("irc.alphazone4.co.uk", 6667)
	print ("Hello!")
	irc:send ("USER IRCName * * :Someircshit")
        irc:send ("NICK IRCName")
	print("ERE DERE")
	irc:send ("JOIN #roflz0rz")
end
connectiontcp()
end


[editline]04:35PM[/editline]

Not sure if that’ll work though but the data is right now

ahh cheers man i noticed that upon looking at an old botnet i made

[editline]04:44PM[/editline]

hmm still no connection…

Hmm after a long while it seems to connect to the server but dosent send anydata :expressionless: