A UDF to connect to IRC using TCP Functions, as well as perform actions once connected.
WANTED: Technical Writer able to create / maintain a helpfile (.chm) using the Autoit helpfile layout for an negotiated rate. Notes:
Originally created by Chip.
UDF Headers updated compared to old script.
Error and Parameter Handling updated compared to old script.
If you need to bypass the RFC compliance of this UDF, use _IRCRaw.
The majority of the old functions have been modified. It will b
Here is little refactored function:
Func _IRCChannelInvite($_vIRC, $_sUser, $_sChannel)
Select ;Parameter Checking, Trust No One
Case $_vIRC = ""
Return SetError(1, 1, 0)
Case $_vIRC = -1
Return SetError(1, 2, 0)
Case $_sUser = ""
Return SetError(2, 1, 0)
Case StringInStr($_sUser, " ")
Return SetError(2, 2, 0)
Case $_sChannel = ""
Return SetError(3, 1, 0)
Case Not $_sChannel = ""
Switch A